Sha256: 7a7595d942b92c260e59bea3d6f26ad89dd8abd2f830d0919fb2c4a189b9f631

Contents?: true

Size: 981 Bytes

Versions: 27

Compression:

Stored size: 981 Bytes

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 [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

27 entries across 27 versions & 1 rubygems

Version Path
twilio-ruby-5.35.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.34.1 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.34.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.33.1 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.33.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.32.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.31.6 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.31.5 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.31.4 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.31.3 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.31.2 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.31.1 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.31.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.30.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.29.1 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.29.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.28.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.27.1 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.27.0 lib/twilio-ruby/rest/verify.rb
twilio-ruby-5.26.0 lib/twilio-ruby/rest/verify.rb