Skip to content

Commit

Permalink
Changed GoogleApi to use GET
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandezpablo85 committed Nov 23, 2010
1 parent f1ecabd commit fc2c46b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/java/org/scribe/builder/api/GoogleApi.java
@@ -1,5 +1,7 @@
package org.scribe.builder.api;

import org.scribe.model.*;

public class GoogleApi extends DefaultApi10a
{
@Override
Expand All @@ -13,4 +15,16 @@ protected String getRequestTokenEndpoint()
{
return "https://www.google.com/accounts/OAuthGetRequestToken";
}

@Override
protected Verb getAccessTokenVerb()
{
return Verb.GET;
}

@Override
protected Verb getRequestTokenVerb()
{
return Verb.GET;
}
}

0 comments on commit fc2c46b

Please sign in to comment.