Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyWorkerReference
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyWorkerReference
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_worker_reference.rb
Overview
Reference to the Worker (employee) to link the candidate to. Provide either WID or Employee_ID.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(wid: nil, employee_id: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyWorkerReference
constructor
A new instance of PostAtsJobsJobIdApplicationsRequestBodyWorkerReference.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(wid: nil, employee_id: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyWorkerReference
Returns a new instance of PostAtsJobsJobIdApplicationsRequestBodyWorkerReference.
21 22 23 24 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_worker_reference.rb', line 21 def initialize(wid: nil, employee_id: nil) @wid = wid @employee_id = employee_id end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_worker_reference.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @wid == other.wid return false unless @employee_id == other.employee_id true end |