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.13.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.12.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.11.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.11.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.10.0.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.10.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.9.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.9.1.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.9.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.9.0.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.8.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.7.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.8.3.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.8.2.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.8.1.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.8.0.edge lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.6.2 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.6.1 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.6.0 lib/twilio-ruby/rest/available_phone_numbers.rb
twilio-ruby-4.7.0.edge lib/twilio-ruby/rest/available_phone_numbers.rb