summaryrefslogtreecommitdiff
path: root/Juick/APIClient.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-09-27 22:24:38 +0300
committerGravatar Vitaly Takmazov2017-09-27 22:24:38 +0300
commit6499148cb3f62e20534b62c181125ebeacfa3438 (patch)
tree3aa289caa409366e70dd1802d67df61903fa992b /Juick/APIClient.h
parent25bc4f1357252dc0aeee70f0a638a4226231d5fb (diff)
cleanup
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r--Juick/APIClient.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/Juick/APIClient.h b/Juick/APIClient.h
index 8546d4d..8c6e024 100644
--- a/Juick/APIClient.h
+++ b/Juick/APIClient.h
@@ -6,8 +6,17 @@
// Copyright © 2016 com.juick. All rights reserved.
//
#import <Foundation/Foundation.h>
+@import AFNetworking;
@interface APIClient : NSObject
- @property (nonatomic, retain) AFHTTPSessionManager *manager;
- +(APIClient *) sharedClient;
-@end \ No newline at end of file
+
+@property (nonatomic, retain) AFHTTPSessionManager *manager;
++(APIClient *) sharedClient;
+
+-(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *, NSError *))callback;
+
++(NSString *) messagesUrl;
++(NSString *) threadUrl;
++(NSString *) feedUrl;
+
+@end