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.
639 640 641 642 643 644 645 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 639 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
728 729 730 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 728 def bundle @bundle end |
#bundle_instance ⇒ Object
647 648 649 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 647 def bundle_instance @instance end |
#headers ⇒ Object
732 733 734 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 732 def headers @headers end |
#status_code ⇒ Object
736 737 738 |
# File 'lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb', line 736 def status_code @status_code end |