Class: Recruitee::Candidate
- Defined in:
- lib/recruitee/resources/candidate.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
- #interview_events ⇒ Object
- #interview_results ⇒ Object (also: #evaluations)
- #offers ⇒ Object
- #placements ⇒ Object
Methods inherited from Resource
#[], #[]=, #initialize, #method_missing, #respond_to_missing?, #to_s
Constructor Details
This class inherits a constructor from Recruitee::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Recruitee::Resource
Instance Method Details
#interview_events ⇒ Object
5 6 7 |
# File 'lib/recruitee/resources/candidate.rb', line 5 def interview_events @_interview_events ||= client.interview_events.list(candidate_id: id) end |
#interview_results ⇒ Object Also known as: evaluations
9 10 11 |
# File 'lib/recruitee/resources/candidate.rb', line 9 def interview_results @_interview_results ||= client.interview_results.list(candidate_id: id) end |
#offers ⇒ Object
14 15 16 |
# File 'lib/recruitee/resources/candidate.rb', line 14 def offers @_offers ||= placements.map(&:offer) end |