-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathYelpClient.h
More file actions
17 lines (14 loc) · 904 Bytes
/
Copy pathYelpClient.h
File metadata and controls
17 lines (14 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
// YelpClient.h
// feedME
//
// Created by Aparna Jain on 6/13/14.
// Copyright (c) 2014 FOX. All rights reserved.
//
#import "BDBOAuth1RequestOperationManager.h"
@interface YelpClient : BDBOAuth1RequestOperationManager
- (id)initWithConsumerKey:(NSString *)consumerKey consumerSecret:(NSString *)consumerSecret accessToken:(NSString *)accessToken accessSecret:(NSString *)accessSecret;
- (AFHTTPRequestOperation *)searchWithTerm:(NSString *)term success:(void (^)(AFHTTPRequestOperation *operation, id response))success failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
- (AFHTTPRequestOperation *)searchWithParameters:(NSDictionary *)parameters success:(void (^)(AFHTTPRequestOperation *operation, id response))success failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
@property (nonatomic, assign) BOOL isSearchedFromFiltersPage;
@end