Class: Twilio::REST::Numbers::V2
- Defined in:
- lib/twilio-ruby/rest/numbers/v2.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document_type.rb
Defined Under Namespace
Classes: RegulatoryComplianceInstance, RegulatoryComplianceList, RegulatoryCompliancePage
Instance Attribute Summary
Attributes inherited from Version
Instance Method Summary collapse
-
#initialize(domain) ⇒ V2
constructor
Initialize the V2 version of Numbers.
- #regulatory_compliance ⇒ Twilio::REST::Numbers::V2::RegulatoryComplianceList
-
#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) ⇒ V2
Initialize the V2 version of Numbers
21 22 23 24 25 |
# File 'lib/twilio-ruby/rest/numbers/v2.rb', line 21 def initialize(domain) super @version = 'v2' @regulatory_compliance = nil end |
Instance Method Details
#regulatory_compliance ⇒ Twilio::REST::Numbers::V2::RegulatoryComplianceList
29 30 31 |
# File 'lib/twilio-ruby/rest/numbers/v2.rb', line 29 def regulatory_compliance @regulatory_compliance ||= RegulatoryComplianceList.new self end |
#to_s ⇒ Object
Provide a user friendly representation
34 35 36 |
# File 'lib/twilio-ruby/rest/numbers/v2.rb', line 34 def to_s '<Twilio::REST::Numbers::V2>'; end |