Class: Twilio::REST::Api::V2010::AccountContext::RecordingContext::AddOnResultListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Api::V2010::AccountContext::RecordingContext::AddOnResultListResponse
- Defined in:
- lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb,
lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb
Instance Method Summary collapse
- #add_on_result ⇒ Object
- #add_on_result_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ AddOnResultListResponse
constructor
A new instance of AddOnResultListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ AddOnResultListResponse
Returns a new instance of AddOnResultListResponse.
332 333 334 335 336 337 338 |
# File 'lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb', line 332 def initialize(version, payload, key) @add_on_result_instance = payload.body[key].map do |data| AddOnResultInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#add_on_result ⇒ Object
421 422 423 |
# File 'lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb', line 421 def add_on_result @add_on_result end |
#add_on_result_instance ⇒ Object
340 341 342 |
# File 'lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb', line 340 def add_on_result_instance @instance end |
#headers ⇒ Object
425 426 427 |
# File 'lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb', line 425 def headers @headers end |
#status_code ⇒ Object
429 430 431 |
# File 'lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb', line 429 def status_code @status_code end |