Class: Cb::Models::JobResults

Inherits:
Object
  • Object
show all
Defined in:
lib/cb/models/implementations/job_results.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_responseObject (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