Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "LiveDualAPI.h"
- @implementation LiveDualAPI
- + (NSString *)invite:(NSString *)showId userId:(NSString *)userId completion:(ServiceCompletion)completion
- {
- return [BaseAPI makeRequest:[NSString stringWithFormat:@"show/me/liveshow/invite/%@/%@", showId, userId] method:kHTTPMethod_GET headers:[BaseAPI getSessionHeader] params:nil contentType:eHTTPContentType_UrlEncoded completion:completion];
- }
- + (NSString *)acceptInvite:(NSString *)showId completion:(ServiceCompletion)completion
- {
- return [BaseAPI makeRequest:[NSString stringWithFormat:@"show/me/liveshow/accept/%@", showId] method:kHTTPMethod_GET headers:[BaseAPI getSessionHeader] params:nil contentType:eHTTPContentType_UrlEncoded completion:completion];
- }
- + (NSString *)rejectInvite:(NSString *)showId completion:(ServiceCompletion)completion
- {
- return [BaseAPI makeRequest:[NSString stringWithFormat:@"show/me/liveshow/reject/%@", showId] method:kHTTPMethod_GET headers:[BaseAPI getSessionHeader] params:nil contentType:eHTTPContentType_UrlEncoded completion:completion];
- }
- @end
Add Comment
Please, Sign In to add comment