Class: TwilioResource::TollFreeIncomingPhoneNumber
- Inherits:
-
IncomingPhoneNumber
- Object
- ReactiveResource::Base
- Base
- IncomingPhoneNumber
- TwilioResource::TollFreeIncomingPhoneNumber
- Defined in:
- lib/twilio_resource/toll_free_incoming_phone_number.rb
Overview
Represents a Twilio-controlled toll-free phone number that can receive incoming phone calls. If there are no numbers available in the specified area code, #save will throw a TwilioResource::NoPhoneNumbersFoundException. Documentation is at www.twilio.com/docs/api/2008-08-01/rest/incoming-phone-numbers
Class Method Summary collapse
Methods inherited from Base
collection_path, custom_method_collection_url, element_name, element_path, query_string, #save
Class Method Details
.association_prefix(options) ⇒ Object
12 13 14 |
# File 'lib/twilio_resource/toll_free_incoming_phone_number.rb', line 12 def self.association_prefix() super() + superclass.collection_name + "/" end |
.collection_name ⇒ Object
8 9 10 |
# File 'lib/twilio_resource/toll_free_incoming_phone_number.rb', line 8 def self.collection_name 'TollFree' end |