Sha256: 95b95120bed28b2e989f58334dc05663b005fe998a8d3934ad54df90a24462ed

Contents?: true

Size: 346 Bytes

Versions: 54

Compression:

Stored size: 346 Bytes

Contents

module Twilio
  module REST
    class AvailablePhoneNumbers < ListResource
      def initialize(path, client)
        @path, @client = path, 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

54 entries across 54 versions & 1 rubygems

Version Path
twilio-ruby-4.6.0.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.5.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.4.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.3.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.2.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.2.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.1.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.0.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.0.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.16.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.16.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.15.2 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.15.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.15.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.14.5 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.14.4 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.14.3 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.14.2 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.14.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-3.14.0 lib/twilio-ruby/rest/available_phone_numbers.rb