class Twilio::REST::Verify

Public Class Methods

new(twilio) click to toggle source

Initialize the Verify Domain

Calls superclass method Twilio::REST::Domain::new
   # File lib/twilio-ruby/rest/verify.rb
14 def initialize(twilio)
15   super
16 
17   @base_url = 'https://verify.twilio.com'
18   @host = 'verify.twilio.com'
19   @port = 443
20 
21   # Versions
22   @v2 = nil
23 end

Public Instance Methods

forms(form_type=:unset) click to toggle source

@param [form.FormTypes] form_type The Type of this Form. Currently only

`form-push` is supported.

@return [Twilio::REST::Verify::V2::FormInstance] if form_type was passed. @return [Twilio::REST::Verify::V2::FormList]

   # File lib/twilio-ruby/rest/verify.rb
36 def forms(form_type=:unset)
37   self.v2.forms(form_type)
38 end
services(sid=:unset) click to toggle source

@param [String] sid The unique string that we created to identify the Service

resource.

@return [Twilio::REST::Verify::V2::ServiceInstance] if sid was passed. @return [Twilio::REST::Verify::V2::ServiceList]

   # File lib/twilio-ruby/rest/verify.rb
45 def services(sid=:unset)
46   self.v2.services(sid)
47 end
to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/verify.rb
66 def to_s
67   '#<Twilio::REST::Verify>'
68 end
v2() click to toggle source

Version v2 of verify

   # File lib/twilio-ruby/rest/verify.rb
27 def v2
28   @v2 ||= V2.new self
29 end
verification_attempts(sid=:unset) click to toggle source

@param [String] sid A 34 character string that uniquely identifies this

Verification Attempt.

@return [Twilio::REST::Verify::V2::VerificationAttemptInstance] if sid was passed. @return [Twilio::REST::Verify::V2::VerificationAttemptList]

   # File lib/twilio-ruby/rest/verify.rb
54 def verification_attempts(sid=:unset)
55   self.v2.verification_attempts(sid)
56 end
verification_templates() click to toggle source

@return [Twilio::REST::Verify::V2::VerificationTemplateInstance]

   # File lib/twilio-ruby/rest/verify.rb
60 def verification_templates
61   self.v2.verification_templates()
62 end