Sha256: cc543c40cfce6a969e4640f29c98aa234f0daa12b0efddb0ee9c7935b38c47f1

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

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

    class AvailablePhoneNumber < InstanceResource; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restcomm-ruby-1.2.1 lib/restcomm-ruby/rest/available_phone_numbers.rb
restcomm-ruby-1.2.0 lib/restcomm-ruby/rest/available_phone_numbers.rb