Class: Twilio::REST::Verify
- Defined in:
- lib/twilio-ruby/rest/verify.rb,
lib/twilio-ruby/rest/verify/v2.rb,
lib/twilio-ruby/rest/verify/v2/service.rb,
lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb,
lib/twilio-ruby/rest/verify/v2/service/verification.rb,
lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb,
lib/twilio-ruby/rest/verify/v2/service/verification_check.rb,
lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb
Defined Under Namespace
Classes: V2
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
-
#initialize(twilio) ⇒ Verify
constructor
Initialize the Verify Domain.
- #services(sid = :unset) ⇒ Twilio::REST::Verify::V2::ServiceInstance, Twilio::REST::Verify::V2::ServiceList
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#v2 ⇒ Object
Version v2 of verify.
Methods inherited from Domain
Constructor Details
#initialize(twilio) ⇒ Verify
Initialize the Verify Domain
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/twilio-ruby/rest/verify.rb', line 14 def initialize(twilio) super @base_url = 'https://verify.twilio.com' @host = 'verify.twilio.com' @port = 443 # Versions @v2 = nil end |
Instance Method Details
#services(sid = :unset) ⇒ Twilio::REST::Verify::V2::ServiceInstance, Twilio::REST::Verify::V2::ServiceList
36 37 38 |
# File 'lib/twilio-ruby/rest/verify.rb', line 36 def services(sid=:unset) self.v2.services(sid) end |
#to_s ⇒ Object
Provide a user friendly representation
42 43 44 |
# File 'lib/twilio-ruby/rest/verify.rb', line 42 def to_s '#<Twilio::REST::Verify>' end |