Class: Twilio::REST::Insights::V1::ConferenceListResponse

Inherits:
Twilio::REST::InstanceListResource show all
Defined in:
lib/twilio-ruby/rest/insights/v1/conference.rb,
lib/twilio-ruby/rest/insights/v1/conference.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, payload, key, limit = :unset) ⇒ ConferenceListResponse

Returns a new instance of ConferenceListResponse.

Parameters:

  • instance (Array<ConferenceInstance>)
  • headers (Hash{String => Object})
  • status_code (Integer)


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

#conferenceObject



452
453
454
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 452

def conference
    @conference
end

#conference_instanceObject



371
372
373
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 371

def conference_instance
    @instance
end

#headersObject



456
457
458
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 456

def headers
  @headers
end

#status_codeObject



460
461
462
# File 'lib/twilio-ruby/rest/insights/v1/conference.rb', line 460

def status_code
  @status_code
end