Class: Cb::Responses::Job::Report
Instance Attribute Summary
Attributes inherited from ApiResponse
#models, #response
Instance Method Summary
collapse
Methods inherited from ApiResponse
#initialize
Instance Method Details
25
26
27
|
# File 'lib/cb/responses/job/report.rb', line 25
def
Cb::Models::ReportJob.new(response)
end
|
17
18
19
|
# File 'lib/cb/responses/job/report.rb', line 17
def hash_containing_metadata
response
end
|
#success_node ⇒ Object
29
30
31
|
# File 'lib/cb/responses/job/report.rb', line 29
def success_node
'Success'
end
|
#validate_api_hash ⇒ Object
21
22
23
|
# File 'lib/cb/responses/job/report.rb', line 21
def validate_api_hash
required_response_field(success_node, response)
end
|