module Authy
Constants
- VERSION
Public Class Methods
api_key()
click to toggle source
# File lib/authy/config.rb, line 7 def api_key @api_key || ENV["AUTHY_API_KEY"] end
api_key=(key)
click to toggle source
# File lib/authy/config.rb, line 3 def api_key=(key) @api_key = key end
api_uri()
click to toggle source
# File lib/authy/config.rb, line 16 def api_uri @api_uri || "https://api.authy.com" end
Also aliased as: api_url
api_uri=(uri)
click to toggle source
# File lib/authy/config.rb, line 11 def api_uri=(uri) @api_uri = uri end
Also aliased as: api_url=
user_agent()
click to toggle source
# File lib/authy/config.rb, line 21 def user_agent @user_agent || "AuthyRuby/#{Authy::VERSION} (#{RUBY_PLATFORM}, Ruby #{RUBY_VERSION})" end
user_agent=(user_agent)
click to toggle source
# File lib/authy/config.rb, line 25 def user_agent=(user_agent) @user_agent = user_agent end