Skip to content
Browse files

fixed code blockquote in readme

  • Loading branch information...
1 parent 97ed14e commit 5d4224f5f099d965a2ef5608d4684b028d372551 Chris Dryden committed Jun 11, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.textile
View
8 README.textile
@@ -15,23 +15,23 @@ h3. OAuth 1.0 support:
Use the provider @Layer7Api@ for OAuth 1.0
-bc. puts "OAuthService service = new ServiceBuilder()
+bc. OAuthService service = new ServiceBuilder()
.provider(Layer7Api.class)
.apiKey("Consumer")
.apiSecret("Secret")
- .build();"
+ .build();
h3. OAuth 2.0:
Use the provider @Layer7Api20@ for OAuth 1.0
-bc. puts "OAuthService service = new ServiceBuilder()
+bc. OAuthService service = new ServiceBuilder()
.provider(Layer7Api20.class)
.apiKey(apiKey)
.apiSecret(apiSecret)
.callback("http://preview.layer7tech.com:8080/oauth/v2/redirect")
.scope("oob")
- .build();"
+ .build();
h2. Configuration:

0 comments on commit 5d4224f

Please sign in to comment.
Something went wrong with that request. Please try again.