Class: Recruitee::Placement
- Defined in:
- lib/recruitee/resources/placement.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
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
#candidate ⇒ Object
5 6 7 |
# File 'lib/recruitee/resources/placement.rb', line 5 def candidate @_candidate ||= client.candidates.find(candidate_id) end |
#offer ⇒ Object
9 10 11 |
# File 'lib/recruitee/resources/placement.rb', line 9 def offer @_offer ||= client.offers.find(offer_id) end |