Class: Kombo::Models::Shared::GetHrisLocationsPositiveResponseAddress
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetHrisLocationsPositiveResponseAddress
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/gethrislocationspositiveresponse_address.rb
Overview
The work location’s address
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(city: nil, country: nil, raw: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil) ⇒ GetHrisLocationsPositiveResponseAddress
constructor
A new instance of GetHrisLocationsPositiveResponseAddress.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(city: nil, country: nil, raw: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil) ⇒ GetHrisLocationsPositiveResponseAddress
Returns a new instance of GetHrisLocationsPositiveResponseAddress.
31 32 33 34 35 36 37 38 39 |
# File 'lib/kombo/models/shared/gethrislocationspositiveresponse_address.rb', line 31 def initialize(city: nil, country: nil, raw: nil, state: nil, street_1: nil, street_2: nil, zip_code: nil) @city = city @country = country @raw = raw @state = state @street_1 = street_1 @street_2 = street_2 @zip_code = zip_code end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/kombo/models/shared/gethrislocationspositiveresponse_address.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @city == other.city return false unless @country == other.country return false unless @raw == other.raw return false unless @state == other.state return false unless @street_1 == other.street_1 return false unless @street_2 == other.street_2 return false unless @zip_code == other.zip_code true end |