Class: GustoEmbedded::Shared::Location

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/shared/location.rb

Overview

The representation of an address in Gusto.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, active: nil, city: nil, company_uuid: nil, country: nil, created_at: nil, filing_address: nil, mailing_address: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, version: nil, zip: nil) ⇒ Location

Returns a new instance of Location.



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/gusto_embedded/models/shared/location.rb', line 47

def initialize(uuid: nil, active: nil, city: nil, company_uuid: nil, country: nil, created_at: nil, filing_address: nil, mailing_address: nil, phone_number: nil, state: nil, street_1: nil, street_2: nil, updated_at: nil, version: nil, zip: nil)
  @uuid = uuid
  @active = active
  @city = city
  @company_uuid = company_uuid
  @country = country
  @created_at = created_at
  @filing_address = filing_address
  @mailing_address = mailing_address
  @phone_number = phone_number
  @state = state
  @street_1 = street_1
  @street_2 = street_2
  @updated_at = updated_at
  @version = version
  @zip = zip
end