Class: Cb::Models::JobResults
- Inherits:
-
Object
- Object
- Cb::Models::JobResults
- Defined in:
- lib/cb/models/implementations/job_results.rb
Instance Attribute Summary collapse
-
#api_response ⇒ Object
readonly
Returns the value of attribute api_response.
Instance Method Summary collapse
-
#initialize(response_hash = {}) ⇒ JobResults
constructor
A new instance of JobResults.
Constructor Details
#initialize(response_hash = {}) ⇒ JobResults
Returns a new instance of JobResults.
16 17 18 19 20 21 |
# File 'lib/cb/models/implementations/job_results.rb', line 16 def initialize(response_hash = {}) unless response_hash.is_a?(Hash) response_hash = {} end @api_response = response_hash end |
Instance Attribute Details
#api_response ⇒ Object (readonly)
Returns the value of attribute api_response.
14 15 16 |
# File 'lib/cb/models/implementations/job_results.rb', line 14 def api_response @api_response end |