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.
363 364 365 366 367 368 369 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 363 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
452 453 454 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 452 def conference @conference end |
#conference_instance ⇒ Object
371 372 373 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 371 def conference_instance @instance end |
#headers ⇒ Object
456 457 458 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 456 def headers @headers end |
#status_code ⇒ Object
460 461 462 |
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 460 def status_code @status_code end |