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, onlyfy: nil, smartrecruiters: nil) ⇒ ImportedId

Returns a new instance of ImportedId.



29
30
31
32
33
34
35
36
# File 'lib/kombo/models/shared/imported_id.rb', line 29

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

Instance Method Details

#==(other) ⇒ Object



39
40
41
42
43
44
45
46
47
48
# File 'lib/kombo/models/shared/imported_id.rb', line 39

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 @onlyfy == other.onlyfy
  return false unless @smartrecruiters == other.smartrecruiters
  true
end