Class: Twilio::REST::NumberType::Local

Inherits:
ListResource show all
Defined in:
lib/twilio-ruby/rest/incoming_phone_numbers/local.rb

Instance Method Summary collapse

Methods inherited from ListResource

#create, #get, #inspect, #list

Methods included from Utils

#detwilify, #twilify

Constructor Details

#initialize(path, client) ⇒ Local

Returns a new instance of Local.



5
6
7
8
9
# File 'lib/twilio-ruby/rest/incoming_phone_numbers/local.rb', line 5

def initialize(path, client)
  @path, @client = path, client
  @instance_class = Twilio::REST::IncomingPhoneNumber
  @list_key, @instance_id_key = 'incoming_phone_numbers', 'sid'
end