Browse files

Readme typo

  • Loading branch information...
1 parent b3153a3 commit 1958b94d7b50aac15596179f09af178be6186823 @edwardmp edwardmp committed Mar 5, 2014
Showing with 2 additions and 4 deletions.
  1. +2 −4 README.rdoc
View
6 README.rdoc
@@ -56,11 +56,9 @@ If you store your private key in a seperate file you can do:
transip = Transip::DomainClient.new(username: 'your_username', key_file: 'path_to_your_private_key_file', ip: '12.34.12.3', mode: :readwrite)
=== Using a proxy for routing traffic to TransIP
-````ruby
-transip = Transip::DomainClient.new(username: 'your_username', key: 'your_private_rsa_key', ip: '12.34.12.3', mode: :readwrite, proxy: ENV["QUOTAGUARDSTATIC_URL"])
-````
+ transip = Transip::DomainClient.new(username: 'your_username', key: 'your_private_rsa_key', ip: '12.34.12.3', mode: :readwrite, proxy: ENV["QUOTAGUARDSTATIC_URL"])
-If you want to use a proxy through which you want to route the API calls to TransIP, you can supply the proxy parameter. For example, I use QuotaGuard Static (https://addons.heroku.com/quotaguardstatic) on Heroku. First install the addon, you will receive two static IP addresses. Whitelist these in the TransIP API settings page. Next, supply the proxy url. For instance, I use the environment variable `ENV["QUOTAGUARDSTATIC_URL"]` to supply this URL.
+If you want to use a proxy through which you want to route the API calls to TransIP, you can supply the proxy parameter. For example, I use QuotaGuard Static (https://addons.heroku.com/quotaguardstatic) on Heroku. First install the addon, you will receive two static IP addresses. Whitelist these in the TransIP API settings page. Next, supply the proxy url. For instance, I use the environment variable QUOTAGUARDSTATIC_URL to supply this URL.
=== DomainClient

0 comments on commit 1958b94

Please sign in to comment.