Sha256: 6ec3002c8bd93062734f1761dcffc43b5842cf007c1908b506cd86ba00b4709d
Contents?: true
Size: 1.3 KB
Versions: 3
Compression:
Stored size: 1.3 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module REST class Verify < Domain ## # Initialize the Verify Domain def initialize(twilio) super @base_url = 'https://verify.twilio.com' @host = 'verify.twilio.com' @port = 443 # Versions @v2 = nil end ## # Version v2 of verify def v2 @v2 ||= V2.new self end ## # @param [form.FormTypes] form_type The Type of this Form. One of `form-app-push`, # `form-sms` or `form-totp`. # @return [Twilio::REST::Verify::V2::FormInstance] if form_type was passed. # @return [Twilio::REST::Verify::V2::FormList] def forms(form_type=:unset) self.v2.forms(form_type) end ## # @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] def services(sid=:unset) self.v2.services(sid) end ## # Provide a user friendly representation def to_s '#<Twilio::REST::Verify>' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
twilio-ruby-5.38.0 | lib/twilio-ruby/rest/verify.rb |
twilio-ruby-5.37.0 | lib/twilio-ruby/rest/verify.rb |
twilio-ruby-5.36.0 | lib/twilio-ruby/rest/verify.rb |