Class: GustoEmbedded::Shared::CompanyAddress
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::CompanyAddress
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/company_address.rb
Overview
The representation of a company’s address in Gusto.
Instance Method Summary collapse
-
#initialize(active: nil, city: nil, country: nil, state: nil, street_1: nil, street_2: nil, zip: nil) ⇒ CompanyAddress
constructor
A new instance of CompanyAddress.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(active: nil, city: nil, country: nil, state: nil, street_1: nil, street_2: nil, zip: nil) ⇒ CompanyAddress
Returns a new instance of CompanyAddress.
31 32 33 34 35 36 37 38 39 |
# File 'lib/gusto_embedded/models/shared/company_address.rb', line 31 def initialize(active: nil, city: nil, country: nil, state: nil, street_1: nil, street_2: nil, zip: nil) @active = active @city = city @country = country @state = state @street_1 = street_1 @street_2 = street_2 @zip = zip end |