Created
October 27, 2012 18:27
-
-
Save birarda/3965594 to your computer and use it in GitHub Desktop.
Old CP Api setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (void)sendLoveToUserWithID:(NSNumber *)recieverID | |
loveMessage:(NSString *)message | |
skillID:(NSUInteger)skillID | |
completion:(void (^)(NSDictionary *, NSError *))completion | |
{ | |
NSMutableDictionary *reviewParams = [NSMutableDictionary dictionaryWithCapacity:2]; | |
[reviewParams setObject:[NSString stringWithFormat:@"%@", recieverID] forKey:@"recipientID"]; | |
[reviewParams setObject:[NSString stringWithFormat:@"%d", skillID] forKey:@"skill_id"]; | |
[reviewParams setObject:message forKey:@"reviewText"]; | |
[self makeHTTPRequestWithAction:@"sendLove" withParameters:reviewParams completion:completion]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment