Created
February 20, 2014 00:06
-
-
Save zaneclaes/9104279 to your computer and use it in GitHub Desktop.
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
NSDictionary *params = @{@"offset" : (offset) ? @(offset) : @0, | |
@"items_per_page" : (limit) ? @(limit) : @50, | |
@"role" : host ? @"host" : @"guest", | |
@"include_pending" : includePending ? @"true" : @"false", | |
@"include_checkpoint" : includeCheckpoint ? @"true" : @"false", | |
@"_format" : @"with_invoice_short" | |
}; | |
[[BBAPI V1] get:@"/reservations" withParams:params onSuccess:successBlock onFailure:failureBlock]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment