twilio / authy-ruby

**Deprecated** Ruby library to access the authy API
MIT License
156 stars 47 forks source link

Allow API key setting via ENV variable #14

Closed dlackty closed 9 years ago

dlackty commented 10 years ago

Thus we can remove the following section of authy/authy-devise.

First create an initializer in config/initializer/authy.rb

Authy.api_key = ENV['AUTHY_API_KEY'] || 'your_authy_api_key'
Authy.api_uri = 'https://api.authy.com/'