Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyLocation
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyLocation
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_location.rb
Overview
The location of the candidate.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(country:, city: nil, state: nil, street_1: nil, zip_code: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyLocation
constructor
A new instance of PostAtsJobsJobIdApplicationsRequestBodyLocation.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(country:, city: nil, state: nil, street_1: nil, zip_code: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyLocation
Returns a new instance of PostAtsJobsJobIdApplicationsRequestBodyLocation.
27 28 29 30 31 32 33 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_location.rb', line 27 def initialize(country:, city: nil, state: nil, street_1: nil, zip_code: nil) @country = country @city = city @state = state @street_1 = street_1 @zip_code = zip_code end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_location.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @country == other.country return false unless @city == other.city return false unless @state == other.state return false unless @street_1 == other.street_1 return false unless @zip_code == other.zip_code true end |