Class: Twilio::REST::Bulkexports::V1::ExportListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Bulkexports::V1::ExportListResponse
- Defined in:
- lib/twilio-ruby/rest/bulkexports/v1/export.rb,
lib/twilio-ruby/rest/bulkexports/v1/export.rb
Instance Method Summary collapse
- #export ⇒ Object
- #export_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ ExportListResponse
constructor
A new instance of ExportListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ ExportListResponse
200 201 202 203 204 205 206 |
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 200 def initialize(version, payload, key) @export_instance = payload.body[key].map do |data| ExportInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#export ⇒ Object
289 290 291 |
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 289 def export @export end |
#export_instance ⇒ Object
208 209 210 |
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 208 def export_instance @instance end |
#headers ⇒ Object
293 294 295 |
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 293 def headers @headers end |
#status_code ⇒ Object
297 298 299 |
# File 'lib/twilio-ruby/rest/bulkexports/v1/export.rb', line 297 def status_code @status_code end |