diff options
Diffstat (limited to 'src/Chapter2/restapi/RESTApiExample.java')
-rw-r--r-- | src/Chapter2/restapi/RESTApiExample.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chapter2/restapi/RESTApiExample.java b/src/Chapter2/restapi/RESTApiExample.java index 9ceb88b..3d6074b 100644 --- a/src/Chapter2/restapi/RESTApiExample.java +++ b/src/Chapter2/restapi/RESTApiExample.java @@ -48,7 +48,7 @@ public class RESTApiExample */ public OAuthConsumer GetConsumer() { - OAuthConsumer consumer = new DefaultOAuthConsumer(utils.OAuthUtils.CONSUMER_KEY,utils.OAuthUtils.CONSUMER_SECRET); + OAuthConsumer consumer = new DefaultOAuthConsumer(utils.Configuration.CONSUMER_KEY,utils.Configuration.CONSUMER_SECRET); consumer.setTokenWithSecret(OAuthTokens.getAccessToken(),OAuthTokens.getAccessSecret()); return consumer; } |