Sha256: f97e4621b305687589726827c4c1b01172181fe698946a9b634875ed8fe585a8

Contents?: true

Size: 343 Bytes

Versions: 10

Compression:

Stored size: 343 Bytes

Contents

module Twilio
  module REST
    class AvailablePhoneNumbers < ListResource
      def initialize(uri, client)
        @uri, @client = uri, client
        @instance_class = Twilio::REST::Country
        @list_key, @instance_id_key = 'countries', 'country_code'
      end
    end

    class AvailablePhoneNumber < InstanceResource; end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
twilio-ruby-3.9.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.8.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.7.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.7.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.6.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.5.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.5.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.4.2 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.4.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.4.0 lib/twilio-ruby/rest/available_phone_numbers.rb