Class: Kombo::Models::Shared::ImportedId

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(erecruiter: nil, successfactors: nil, recruitee: nil, greenhouse: nil, greenhousev3: nil, onlyfy: nil, smartrecruiters: nil) ⇒ ImportedId

Returns a new instance of ImportedId.



31
32
33
34
35
36
37
38
39
# File 'lib/kombo/models/shared/imported_id.rb', line 31

def initialize(erecruiter: nil, successfactors: nil, recruitee: nil, greenhouse: nil, greenhousev3: nil, onlyfy: nil, smartrecruiters: nil)
  @erecruiter = erecruiter
  @successfactors = successfactors
  @recruitee = recruitee
  @greenhouse = greenhouse
  @greenhousev3 = greenhousev3
  @onlyfy = onlyfy
  @smartrecruiters = smartrecruiters
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
# File 'lib/kombo/models/shared/imported_id.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @erecruiter == other.erecruiter
  return false unless @successfactors == other.successfactors
  return false unless @recruitee == other.recruitee
  return false unless @greenhouse == other.greenhouse
  return false unless @greenhousev3 == other.greenhousev3
  return false unless @onlyfy == other.onlyfy
  return false unless @smartrecruiters == other.smartrecruiters
  true
end