Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed redundant method implementations

Xcode 4.4+ is needed for automatic property synthesize. If using a previous version, you need to add "@synthesize" for properties manually.
  • Loading branch information...
commit d64534ba3e446aca04fe615dd2561173d63b975a 1 parent 850f445
@rsieiro authored
Showing with 1 addition and 27 deletions.
  1. +1 −1  RSOAuthEngine/RSOAuthEngine.h
  2. +0 −26 RSOAuthEngine/RSOAuthEngine.m
View
2  RSOAuthEngine/RSOAuthEngine.h
@@ -40,7 +40,7 @@ typedef enum _RSOOAuthSignatureMethod {
typedef enum _RSOAuthParameterStyle {
RSOAuthParameterStyleHeader,
RSOAuthParameterStylePostBody,
- RSOAuthParameterStyleQueryString
+ RSOAuthParameterStyleQueryString
} RSOAuthParameterStyle;
@interface RSOAuthEngine : MKNetworkEngine
View
26 RSOAuthEngine/RSOAuthEngine.m
@@ -75,42 +75,16 @@ - (void)setOAuthValue:(NSString *)value forKey:(NSString *)key;
@implementation RSOAuthEngine
-@synthesize parameterStyle = _parameterStyle;
-
#pragma mark - Read-only Properties
-- (RSOAuthTokenType)tokenType {
- return _tokenType;
-}
-
-- (RSOAuthSignatureMethod)signatureMethod {
- return _signatureMethod;
-}
-
- (NSString *)consumerKey {
return (_oAuthValues) ? [_oAuthValues objectForKey:@"oauth_consumer_key"] : @"";
}
-- (NSString *)consumerSecret {
- return _consumerSecret;
-}
-
-- (NSString *)callbackURL {
- return _callbackURL;
-}
-
- (NSString *)token {
return (_oAuthValues) ? [_oAuthValues objectForKey:@"oauth_token"] : @"";
}
-- (NSString *)tokenSecret {
- return _tokenSecret;
-}
-
-- (NSString *)verifier {
- return _verifier;
-}
-
#pragma mark - Initialization
- (id)initWithHostName:(NSString *)hostName
Please sign in to comment.
Something went wrong with that request. Please try again.