Module: Authy
- Defined in:
- lib/authy/api.rb,
lib/authy/config.rb,
lib/authy/version.rb,
lib/authy/onetouch.rb,
lib/authy/response.rb,
lib/authy/models/user.rb,
lib/authy/url_helpers.rb,
lib/authy/phone_intelligence.rb,
lib/authy/phone_verification.rb
Defined Under Namespace
Modules: URL
Classes: API, OneTouch, PhoneIntelligence, PhoneVerification, Response, User
Constant Summary
collapse
- VERSION =
"2.6.0"
Class Method Summary
collapse
Class Method Details
.api_key ⇒ Object
7
8
9
|
# File 'lib/authy/config.rb', line 7
def api_key
@api_key || ENV["AUTHY_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_uri ⇒ Object
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
|