Class: Twilio::REST::Numbers::V3
- Defined in:
- lib/twilio-ruby/rest/numbers/v3.rb,
lib/twilio-ruby/rest/numbers/v3/hosted_number_order.rb
Defined Under Namespace
Classes: HostedNumberOrderInstance, HostedNumberOrderList, HostedNumberOrderPage
Instance Attribute Summary
Attributes inherited from Version
Instance Method Summary collapse
- #hosted_number_orders ⇒ Twilio::REST::Numbers::V3::HostedNumberOrderList
-
#initialize(domain) ⇒ V3
constructor
Initialize the V3 version of Numbers.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Version
#absolute_url, #create, #delete, #exception, #fetch, #page, #read_limits, #relative_uri, #request, #stream, #update
Constructor Details
#initialize(domain) ⇒ V3
Initialize the V3 version of Numbers
21 22 23 24 25 |
# File 'lib/twilio-ruby/rest/numbers/v3.rb', line 21 def initialize(domain) super @version = 'v3' @hosted_number_orders = nil end |
Instance Method Details
#hosted_number_orders ⇒ Twilio::REST::Numbers::V3::HostedNumberOrderList
29 30 31 |
# File 'lib/twilio-ruby/rest/numbers/v3.rb', line 29 def hosted_number_orders @hosted_number_orders ||= HostedNumberOrderList.new self end |
#to_s ⇒ Object
Provide a user friendly representation
34 35 36 |
# File 'lib/twilio-ruby/rest/numbers/v3.rb', line 34 def to_s '<Twilio::REST::Numbers::V3>'; end |