Skip to content

Commit

Permalink
Merge pull request sferik#250 from alkema/master
Browse files Browse the repository at this point in the history
Gateway configuration example using the Apigee vendor as an example.
  • Loading branch information
pengwynn committed Apr 16, 2012
2 parents 3dd5603 + 0ab8d9a commit eb8bf3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -157,10 +157,8 @@ Get your rate limit status
[justinbieber]: https://twitter.com/justinbieber

## <a name="proxy"></a>Configuration for API Proxy Services
Use of API proxy services, like [Apigee](http://apigee.com), can be used to
attain higher rate limits to the Twitter API.

Twitter.gateway = YOUR_GATEWAY_HOSTNAME # e.g 'twitter.apigee.com'
Twitter.gateway = YOUR_GATEWAY_HOSTNAME # e.g 'gateway.example.com'

## <a name="contributing"></a>Contributing
In the spirit of [free software][free-sw], **everyone** is encouraged to help improve
Expand Down
2 changes: 1 addition & 1 deletion spec/twitter/client_spec.rb
Expand Up @@ -36,7 +36,7 @@
:oauth_token_secret => 'OS',
:adapter => :typhoeus,
:endpoint => 'http://tumblr.com/',
:gateway => 'apigee-1111.apigee.com',
:gateway => 'gateway.example.com',
:proxy => 'http://erik:sekret@proxy.example.com:8080',
:search_endpoint => 'http://google.com/',
:media_endpoint => 'https://upload.twitter.com/',
Expand Down

0 comments on commit eb8bf3e

Please sign in to comment.