Class: Twilio::REST::Local
- Inherits:
-
ListResource
- Object
- ListResource
- Twilio::REST::Local
- Defined in:
- lib/twilio-ruby/rest/available_phone_numbers/local.rb
Instance Method Summary collapse
-
#initialize(path, client) ⇒ Local
constructor
A new instance of Local.
Methods inherited from ListResource
#create, #get, #inspect, #list
Methods included from Utils
Constructor Details
#initialize(path, client) ⇒ Local
Returns a new instance of Local.
4 5 6 7 8 |
# File 'lib/twilio-ruby/rest/available_phone_numbers/local.rb', line 4 def initialize(path, client) @path, @client = path, client @instance_class = Twilio::REST::AvailablePhoneNumber @list_key, @instance_id_key = 'available_phone_numbers', 'sid' end |