Class: Cb::Responses::ResumeList
Instance Attribute Summary
Attributes inherited from ApiResponse
#models, #response
Instance Method Summary
collapse
Methods inherited from ApiResponse
#initialize
Instance Method Details
8
9
10
|
# File 'lib/cb/responses/resumes/resume_list.rb', line 8
def
response[root_node].map { |resume| Models::ResumeListing.new(resume) }
end
|
12
13
14
|
# File 'lib/cb/responses/resumes/resume_list.rb', line 12
def hash_containing_metadata
response
end
|
#root_node ⇒ Object
16
17
18
|
# File 'lib/cb/responses/resumes/resume_list.rb', line 16
def root_node
'Resumes'
end
|
#validate_api_hash ⇒ Object
4
5
6
|
# File 'lib/cb/responses/resumes/resume_list.rb', line 4
def validate_api_hash
required_response_field(root_node, response)
end
|