Class: Twilio::REST::Api::V2010::AccountContext::ConferenceListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Api::V2010::AccountContext::ConferenceListResponse
- Defined in:
- lib/twilio-ruby/rest/api/v2010/account/conference.rb,
lib/twilio-ruby/rest/api/v2010/account/conference.rb
Instance Method Summary collapse
- #conference ⇒ Object
- #conference_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ ConferenceListResponse
constructor
A new instance of ConferenceListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ ConferenceListResponse
Returns a new instance of ConferenceListResponse.
444 445 446 447 448 449 450 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference.rb', line 444 def initialize(version, payload, key) @conference_instance = payload.body[key].map do |data| ConferenceInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#conference ⇒ Object
533 534 535 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference.rb', line 533 def conference @conference end |
#conference_instance ⇒ Object
452 453 454 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference.rb', line 452 def conference_instance @instance end |
#headers ⇒ Object
537 538 539 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference.rb', line 537 def headers @headers end |
#status_code ⇒ Object
541 542 543 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference.rb', line 541 def status_code @status_code end |