Skip to content

Commit

Permalink
Merge 2e3421a into d6c5100
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklegr committed Feb 22, 2018
2 parents d6c5100 + 2e3421a commit 014b2b0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/Configuration.md
Expand Up @@ -131,11 +131,12 @@ If you'd like to connect via a proxy, a proxy can be configured by passing a
`Hash` to your configuration:

```ruby
proxy: {
uri: Addressable::URI.parse("http://proxy_host:proxy_port"),
username: "proxy_username",
password: "proxy_password"
}
proxy = {
host: "proxy.example.com",
port: 8080,
username: "proxy_username",
password: "proxy_password"
}

client = Twitter::REST::Client.new do |config|
config.consumer_key = "YOUR_CONSUMER_KEY"
Expand Down

0 comments on commit 014b2b0

Please sign in to comment.