Class: Recruitee::Placement

Inherits:
Resource show all
Defined in:
lib/recruitee/resources/placement.rb

Instance Attribute Summary

Attributes inherited from Resource

#properties

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

#candidateObject



5
6
7
# File 'lib/recruitee/resources/placement.rb', line 5

def candidate
  @_candidate ||= client.candidates.find(candidate_id)
end

#offerObject



9
10
11
# File 'lib/recruitee/resources/placement.rb', line 9

def offer
  @_offer ||= client.offers.find(offer_id)
end