Module: Authy

Defined in:
lib/authy/api.rb,
lib/authy/config.rb,
lib/authy/version.rb,
lib/authy/response.rb,
lib/authy/models/user.rb,
lib/authy/url_helpers.rb,
lib/authy/phone_intelligence.rb

Defined Under Namespace

Modules: URL Classes: API, PhoneIntelligence, Response, User

Constant Summary collapse

VERSION =
"2.4.0"

Class Method Summary collapse

Class Method Details

.api_keyObject



7
8
9
# File 'lib/authy/config.rb', line 7

def api_key
  @api_key
end

.api_key=(key) ⇒ Object



3
4
5
# File 'lib/authy/config.rb', line 3

def api_key=(key)
  @api_key = key
end

.api_uriObject Also known as: api_url



16
17
18
# File 'lib/authy/config.rb', line 16

def api_uri
  @api_uri || "https://api.authy.com"
end

.api_uri=(uri) ⇒ Object Also known as: api_url=



11
12
13
# File 'lib/authy/config.rb', line 11

def api_uri=(uri)
  @api_uri = uri
end