Class: Twilio::REST::Verify

Inherits:
VerifyBase show all
Defined in:
lib/twilio-ruby/rest/verify.rb,
lib/twilio-ruby/rest/verify/v2.rb,
lib/twilio-ruby/rest/verify/v2/form.rb,
lib/twilio-ruby/rest/verify/v2/service.rb,
lib/twilio-ruby/rest/verify/v2/safelist.rb,
lib/twilio-ruby/rest/verify/v2/template.rb,
lib/twilio-ruby/rest/verify/v2/service/entity.rb,
lib/twilio-ruby/rest/verify/v2/service/webhook.rb,
lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb,
lib/twilio-ruby/rest/verify/v2/service/access_token.rb,
lib/twilio-ruby/rest/verify/v2/service/verification.rb,
lib/twilio-ruby/rest/verify/v2/verification_attempt.rb,
lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb,
lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb,
lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.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/verification_attempts_summary.rb,
lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb,
lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb

Defined Under Namespace

Classes: V2

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from VerifyBase

#initialize, #to_s, #v2

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::VerifyBase

Instance Method Details

#forms(form_type = :unset) ⇒ Twilio::REST::Verify::V2::FormInstance, Twilio::REST::Verify::V2::FormList

Parameters:

  • form_type (form.FormTypes) (defaults to: :unset)

    The Type of this Form. Currently only ‘form-push` is supported.

Returns:



9
10
11
12
# File 'lib/twilio-ruby/rest/verify.rb', line 9

def forms(form_type=:unset)
  warn "forms is deprecated. Use v2.forms instead."
  self.v2.forms(form_type)
end

#safelist(phone_number = :unset) ⇒ Twilio::REST::Verify::V2::SafelistInstance, Twilio::REST::Verify::V2::SafelistList

Parameters:

  • phone_number (String) (defaults to: :unset)

    The phone number in SafeList.

Returns:



18
19
20
21
# File 'lib/twilio-ruby/rest/verify.rb', line 18

def safelist(phone_number=:unset)
  warn "safelist is deprecated. Use v2.safelist instead."
  self.v2.safelist(phone_number)
end

#services(sid = :unset) ⇒ Twilio::REST::Verify::V2::ServiceInstance, Twilio::REST::Verify::V2::ServiceList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Service resource.

Returns:



28
29
30
31
# File 'lib/twilio-ruby/rest/verify.rb', line 28

def services(sid=:unset)
  warn "services is deprecated. Use v2.services instead."
  self.v2.services(sid)
end

#templatesTwilio::REST::Verify::V2::TemplateInstance



52
53
54
55
# File 'lib/twilio-ruby/rest/verify.rb', line 52

def templates
  warn "templates is deprecated. Use v2.templates instead."
  self.v2.templates()
end

#verification_attempts(sid = :unset) ⇒ Twilio::REST::Verify::V2::VerificationAttemptInstance, Twilio::REST::Verify::V2::VerificationAttemptList

Parameters:

  • sid (String) (defaults to: :unset)

    The SID that uniquely identifies the verification attempt resource.

Returns:



38
39
40
41
# File 'lib/twilio-ruby/rest/verify.rb', line 38

def verification_attempts(sid=:unset)
  warn "verification_attempts is deprecated. Use v2.verification_attempts instead."
  self.v2.verification_attempts(sid)
end

#verification_attempts_summaryTwilio::REST::Verify::V2::VerificationAttemptsSummaryInstance



45
46
47
48
# File 'lib/twilio-ruby/rest/verify.rb', line 45

def verification_attempts_summary
  warn "verification_attempts_summary is deprecated. Use v2.verification_attempts_summary instead."
  self.v2.verification_attempts_summary()
end