forked from kylebrowning/waterwheel.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DIOSComment.h
31 lines (26 loc) · 1.36 KB
/
DIOSComment.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// DIOSComment.h
// dios
//
// Created by Kyle Browning on 9/5/14.
// Copyright (c) 2014 Kyle Browning. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AFHTTPRequestOperation.h"
@interface DIOSComment : NSObject
+ (void) getCommentWithID:(NSString*)eid
success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error)) failure;
+ (void) createCommentWithParams:(NSDictionary*)params
relationID:(NSString*)relationID
type:(NSString*)type
success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error)) failure;
+ (void) deleteCommentWithID:(NSString*)eid
success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error)) failure;
+ (void) patchCommentWithID:(NSString*)eid
andParams:(NSDictionary *)params
success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error)) failure;
@end