Class: GustoEmbedded::Models::Operations::WorkAddress

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/gusto_embedded/models/operations/work_address.rb

Overview

Primary work location for this historical employment row.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(location_uuid:) ⇒ WorkAddress

Returns a new instance of WorkAddress.



19
20
21
# File 'lib/gusto_embedded/models/operations/work_address.rb', line 19

def initialize(location_uuid:)
  @location_uuid = location_uuid
end

Instance Method Details

#==(other) ⇒ Object



24
25
26
27
28
# File 'lib/gusto_embedded/models/operations/work_address.rb', line 24

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