-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathObjectiveResourceConfig.m
56 lines (52 loc) · 1.31 KB
/
ObjectiveResourceConfig.m
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//
// ObjectiveResourceConfig.m
// objective_resource
//
// Created by vickeryj on 1/29/09.
// Copyright 2009 Joshua Vickery. All rights reserved.
//
#import "ObjectiveResourceConfig.h"
@implementation ObjectiveResourceConfig
+ (NSString *)getSite {
return [self getRemoteSite];
}
+ (void)setSite:(NSString*)siteURL {
[self setRemoteSite:siteURL];
}
+ (NSString *)getUser {
return [self getRemoteUser];
}
+ (void)setUser:(NSString *)user {
[self setRemoteUser:user];
}
+ (NSString *)getPassword {
return [self getRemotePassword];
}
+ (void)setPassword:(NSString *)password {
[self setRemotePassword:password];
}
+ (SEL)getParseDataMethod {
return [self getRemoteParseDataMethod];
}
+ (void)setParseDataMethod:(SEL)parseMethod {
[self setRemoteParseDataMethod:parseMethod];
}
+ (SEL) getSerializeMethod {
return [self getRemoteSerializeMethod];
}
+ (void) setSerializeMethod:(SEL)serializeMethod {
[self setRemoteSerializeMethod:serializeMethod];
}
+ (NSString *)protocolExtension {
return [self getRemoteProtocolExtension];
}
+ (void)setProtocolExtension:(NSString *)protocolExtension {
[self setRemoteProtocolExtension:protocolExtension];
}
+ (void)setResponseType:(ORSResponseFormat) format {
[self setRemoteResponseType:format];
}
+ (ORSResponseFormat)getResponseType {
return [self getRemoteResponseType];
}
@end