Class: VitableConnect::Models::Employer::Address
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- VitableConnect::Models::Employer::Address
- Defined in:
- lib/vitable_connect/models/employer.rb
Overview
Instance Attribute Summary collapse
-
#address_line_1 ⇒ String
Primary street address.
-
#address_line_2 ⇒ String?
Secondary street address (apt, suite, etc.).
-
#city ⇒ String
City name.
-
#state ⇒ String
Two-letter state code (e.g., CA, NY).
-
#zipcode ⇒ String
ZIP code (5 or 9 digit).
Instance Method Summary collapse
-
#initialize(address_line_1:, city:, state:, zipcode:, address_line_2: nil) ⇒ Object
constructor
Nested address within EmployerSerializer.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(address_line_1:, city:, state:, zipcode:, address_line_2: nil) ⇒ Object
Nested address within EmployerSerializer.
|
|
# File 'lib/vitable_connect/models/employer.rb', line 148
|
Instance Attribute Details
#address_line_1 ⇒ String
Primary street address
122 |
# File 'lib/vitable_connect/models/employer.rb', line 122 required :address_line_1, String |
#address_line_2 ⇒ String?
Secondary street address (apt, suite, etc.)
146 |
# File 'lib/vitable_connect/models/employer.rb', line 146 optional :address_line_2, String, nil?: true |
#city ⇒ String
City name
128 |
# File 'lib/vitable_connect/models/employer.rb', line 128 required :city, String |
#state ⇒ String
Two-letter state code (e.g., CA, NY)
134 |
# File 'lib/vitable_connect/models/employer.rb', line 134 required :state, String |
#zipcode ⇒ String
ZIP code (5 or 9 digit)
140 |
# File 'lib/vitable_connect/models/employer.rb', line 140 required :zipcode, String |