Class: Twilio::REST::Insights::V1::ConferenceListResponse
- Inherits:
-
Twilio::REST::InstanceListResource
- Object
- Twilio::REST::InstanceListResource
- Twilio::REST::Insights::V1::ConferenceListResponse
- Defined in:
- lib/twilio-ruby/rest/insights/v1/conference.rb,
lib/twilio-ruby/rest/insights/v1/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.
371 372 373 374 375 376 377 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 371 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
460 461 462 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 460 def conference @conference end |
#conference_instance ⇒ Object
379 380 381 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 379 def conference_instance @instance end |
#headers ⇒ Object
464 465 466 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 464 def headers @headers end |
#status_code ⇒ Object
468 469 470 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 468 def status_code @status_code end |