Class: Twilio::REST::Bulkexports::V1::ExportList::JobListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Bulkexports::V1::ExportList::JobListResponse
- Defined in:
- lib/twilio-ruby/rest/bulkexports/v1/export/job.rb
Instance Method Summary collapse
-
#initialize(version, payload, key) ⇒ JobListResponse
constructor
A new instance of JobListResponse.
- #job_instance ⇒ Object
Constructor Details
#initialize(version, payload, key) ⇒ JobListResponse
Returns a new instance of JobListResponse.
188 189 190 191 192 193 194 |
# File 'lib/twilio-ruby/rest/bulkexports/v1/export/job.rb', line 188 def initialize(version, payload, key) @job_instance = payload.body[key].map do |data| JobInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#job_instance ⇒ Object
196 197 198 |
# File 'lib/twilio-ruby/rest/bulkexports/v1/export/job.rb', line 196 def job_instance @instance end |