Sha256: 40f57ccd6daf20b618839a4b301c7b1f5e6c33bdfd9fb2afa19bb31e5a825812

Contents?: true

Size: 719 Bytes

Versions: 6

Compression:

Stored size: 719 Bytes

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /

module Twilio
  module REST
    class Lookups
      class V1 < Version
        ##
        # Initialize the V1 version of Lookups
        def initialize(domain)
          super
          @version = 'v1'
          @phone_numbers = nil
        end

        def phone_numbers(sid=:unset)
          if sid == :unset
            @phone_numbers ||= PhoneNumberList.new self
          else
            PhoneNumberContext.new(self, sid)
          end
        end

        ##
        # Provide a user friendly representation
        def to_s
          '<Twilio::REST::Lookups::V1>'
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc24 lib/twilio-ruby/rest/lookups/v1.rb
twilio-ruby-5.0.0.rc23 lib/twilio-ruby/rest/lookups/v1.rb
twilio-ruby-5.0.0.rc22 lib/twilio-ruby/rest/lookups/v1.rb
twilio-ruby-5.0.0.rc21 lib/twilio-ruby/rest/lookups/v1.rb
twilio-ruby-5.0.0.rc20 lib/twilio-ruby/rest/lookups/v1.rb
twilio-ruby-5.0.0.rc19 lib/twilio-ruby/rest/lookups/v1.rb