Class: Twilio::REST::Authy
- Defined in:
- lib/twilio-ruby/rest/authy.rb,
lib/twilio-ruby/rest/authy/v1.rb,
lib/twilio-ruby/rest/authy/v1/form.rb,
lib/twilio-ruby/rest/authy/v1/service.rb,
lib/twilio-ruby/rest/authy/v1/service/entity.rb,
lib/twilio-ruby/rest/authy/v1/service/entity/factor.rb,
lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb
Defined Under Namespace
Classes: V1
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
- #forms(form_type = :unset) ⇒ Twilio::REST::Authy::V1::FormInstance, Twilio::REST::Authy::V1::FormList
-
#initialize(twilio) ⇒ Authy
constructor
Initialize the Authy Domain.
- #services(sid = :unset) ⇒ Twilio::REST::Authy::V1::ServiceInstance, Twilio::REST::Authy::V1::ServiceList
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#v1 ⇒ Object
Version v1 of authy.
Methods inherited from Domain
Constructor Details
#initialize(twilio) ⇒ Authy
Initialize the Authy Domain
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/twilio-ruby/rest/authy.rb', line 14 def initialize(twilio) super @base_url = 'https://authy.twilio.com' @host = 'authy.twilio.com' @port = 443 # Versions @v1 = nil end |
Instance Method Details
#forms(form_type = :unset) ⇒ Twilio::REST::Authy::V1::FormInstance, Twilio::REST::Authy::V1::FormList
44 45 46 |
# File 'lib/twilio-ruby/rest/authy.rb', line 44 def forms(form_type=:unset) self.v1.forms(form_type) end |
#services(sid = :unset) ⇒ Twilio::REST::Authy::V1::ServiceInstance, Twilio::REST::Authy::V1::ServiceList
35 36 37 |
# File 'lib/twilio-ruby/rest/authy.rb', line 35 def services(sid=:unset) self.v1.services(sid) end |
#to_s ⇒ Object
Provide a user friendly representation
50 51 52 |
# File 'lib/twilio-ruby/rest/authy.rb', line 50 def to_s '#<Twilio::REST::Authy>' end |