Class: Twilio::REST::Numbers::V2::RegulatoryComplianceList::BundleListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Numbers::V2::RegulatoryComplianceList::BundleListResponse
- Defined in:
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb,
lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb
Instance Method Summary collapse
- #bundle ⇒ Object
- #bundle_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ BundleListResponse
constructor
A new instance of BundleListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ BundleListResponse
Returns a new instance of BundleListResponse.
623 624 625 626 627 628 629 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 623 def initialize(version, payload, key) @bundle_instance = payload.body[key].map do |data| BundleInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#bundle ⇒ Object
712 713 714 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 712 def bundle @bundle end |
#bundle_instance ⇒ Object
631 632 633 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 631 def bundle_instance @instance end |
#headers ⇒ Object
716 717 718 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 716 def headers @headers end |
#status_code ⇒ Object
720 721 722 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 720 def status_code @status_code end |