From 7ff6112e63ad766bc158460c4b20cebbc17f7304 Mon Sep 17 00:00:00 2001 From: vrclvrncknm Date: Wed, 8 May 2013 23:14:00 +0200 Subject: [PATCH] Update README.markdown Fixes wrong method name in example under "Usage" --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 861efb4..ea367aa 100644 --- a/README.markdown +++ b/README.markdown @@ -43,7 +43,7 @@ __NOTE__: You *must* add `-Objc` and `-all_load` to your project's "Additional L Note there are typed `setValue:forParameter:` methods on `ENAPIRequest` for integers, floats, and `BOOL`s. Parameters that support multiple values are set using an `NSArray` of the values. - ENAPIRequest *request = [ENAPIRequest requestForEndpoint:@"artist/search"]; + ENAPIRequest *request = [ENAPIRequest requestWithEndpoint:@"artist/search"]; [request setBoolValue:YES forParameter:@"fuzzy_match"]; [request setFloatValue:0.5f forParameter:@"min_hotttnesss"]; [request setValue:@"radiohead" forParameter:@"name"];