Class: Twilio::REST::Intelligence::V2::OperatorAttachmentsListResponse
- Inherits:
-
Twilio::REST::InstanceListResource
- Object
- Twilio::REST::InstanceListResource
- Twilio::REST::Intelligence::V2::OperatorAttachmentsListResponse
- Defined in:
- lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb
Instance Method Summary collapse
-
#initialize(version, payload, key) ⇒ OperatorAttachmentsListResponse
constructor
A new instance of OperatorAttachmentsListResponse.
- #operator_attachments_instance ⇒ Object
Constructor Details
#initialize(version, payload, key) ⇒ OperatorAttachmentsListResponse
Returns a new instance of OperatorAttachmentsListResponse.
154 155 156 157 158 159 160 |
# File 'lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb', line 154 def initialize(version, payload, key) @operator_attachments_instance = payload.body[key].map do |data| OperatorAttachmentsInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#operator_attachments_instance ⇒ Object
162 163 164 |
# File 'lib/twilio-ruby/rest/intelligence/v2/operator_attachments.rb', line 162 def @instance end |