Sha256: 9c56a0506c15e5c7c0f65a5caf1dbf23d38fb981323813a8f9b9b45e263b0714
Contents?: true
Size: 1.15 KB
Versions: 10
Compression:
Stored size: 1.15 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / module Twilio module REST class Preview class HostedNumbers < Version ## # Initialize the HostedNumbers version of Preview def initialize(domain) super @version = 'HostedNumbers' @hosted_number_orders = nil end ## # @param [String] sid A 34 character string that uniquely identifies this # HostedNumberOrder. # @return [Twilio::REST::Preview::HostedNumbers::HostedNumberOrderInstance] if sid was passed. # @return [Twilio::REST::Preview::HostedNumbers::HostedNumberOrderList] def hosted_number_orders(sid=:unset) if sid.nil? raise ArgumentError, 'sid cannot be nil' elsif sid == :unset @hosted_number_orders ||= HostedNumberOrderList.new self else HostedNumberOrderContext.new(self, sid) end end ## # Provide a user friendly representation def to_s '<Twilio::REST::Preview::HostedNumbers>' end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems