Class: Kombo::Models::Shared::PostAtsCandidatesRequestBodyApplication

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/postatscandidatesrequestbody_application.rb

Overview

Currently, every candidate has one application. If you are interested in talent pools, please contact Kombo.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(job_id:, stage_id: nil) ⇒ PostAtsCandidatesRequestBodyApplication

Returns a new instance of PostAtsCandidatesRequestBodyApplication.



21
22
23
24
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_application.rb', line 21

def initialize(job_id:, stage_id: nil)
  @job_id = job_id
  @stage_id = stage_id
end

Instance Method Details

#==(other) ⇒ Object



27
28
29
30
31
32
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_application.rb', line 27

def ==(other)
  return false unless other.is_a? self.class
  return false unless @job_id == other.job_id
  return false unless @stage_id == other.stage_id
  true
end