Class: SirvRestApi::BatchZipResult
- Inherits:
-
Object
- Object
- SirvRestApi::BatchZipResult
- Defined in:
- lib/sirv_rest_api/models.rb
Overview
Batch ZIP result
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#job_id ⇒ Object
Returns the value of attribute job_id.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ BatchZipResult
constructor
A new instance of BatchZipResult.
Constructor Details
#initialize(data = {}) ⇒ BatchZipResult
Returns a new instance of BatchZipResult.
245 246 247 248 249 |
# File 'lib/sirv_rest_api/models.rb', line 245 def initialize(data = {}) @job_id = data["jobId"] @status = data["status"] @filename = data["filename"] end |
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename.
243 244 245 |
# File 'lib/sirv_rest_api/models.rb', line 243 def filename @filename end |
#job_id ⇒ Object
Returns the value of attribute job_id.
243 244 245 |
# File 'lib/sirv_rest_api/models.rb', line 243 def job_id @job_id end |
#status ⇒ Object
Returns the value of attribute status.
243 244 245 |
# File 'lib/sirv_rest_api/models.rb', line 243 def status @status end |