class Twilio::REST::Numbers::V2
Public Class Methods
new(domain)
click to toggle source
Initialize the V2
version of Numbers
Calls superclass method
Twilio::REST::Version::new
# File lib/twilio-ruby/rest/numbers/v2.rb 15 def initialize(domain) 16 super 17 @version = 'v2' 18 @regulatory_compliance = nil 19 end
Public Instance Methods
regulatory_compliance()
click to toggle source
@return [Twilio::REST::Numbers::V2::RegulatoryComplianceContext]
# File lib/twilio-ruby/rest/numbers/v2.rb 23 def regulatory_compliance 24 @regulatory_compliance ||= RegulatoryComplianceList.new self 25 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/numbers/v2.rb 29 def to_s 30 '<Twilio::REST::Numbers::V2>' 31 end