Skip to content

Commit

Permalink
more readme fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amro committed Dec 19, 2013
1 parent c35858d commit 6536b71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ First, set an API key:

[[ChimpKit sharedKit] setApiKey:apiKey];

You can now make requests.
You can now make requests. For example, here's how to subscribe an email address:

Using a block:

Expand Down Expand Up @@ -61,12 +61,12 @@ Using a block:
}
}];

Using the delegate pattern call:
Using the delegate pattern:

NSDictionary *params = @{@"id": listId, @"email": @{@"email": @"[email protected]"}, @"merge_vars": @{@"FNAME": @"Freddie", @"LName":@"von Chimpenheimer"}};
[[ChimpKit sharedKit] callApiMethod:@"lists/subscribe" withParams:params andDelegate:self];

And implement:
And implement:

- (void)ckRequestSucceeded:(ChimpKitRequest *)aRequest {
NSLog(@"HTTP Status Code: %d", aRequest.response.statusCode);
Expand Down

0 comments on commit 6536b71

Please sign in to comment.