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,
sig/vitable_connect/models/employer.rbs
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 ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
99 |
# File 'sig/vitable_connect/models/employer.rbs', line 99
def initialize: (
|
Instance Attribute Details
#address_line_1 ⇒ String
Primary street address
125 |
# File 'lib/vitable_connect/models/employer.rb', line 125 required :address_line_1, String |
#address_line_2 ⇒ String?
Secondary street address (apt, suite, etc.)
149 |
# File 'lib/vitable_connect/models/employer.rb', line 149 optional :address_line_2, String, nil?: true |
#city ⇒ String
City name
131 |
# File 'lib/vitable_connect/models/employer.rb', line 131 required :city, String |
#state ⇒ String
Two-letter state code (e.g., CA, NY)
137 |
# File 'lib/vitable_connect/models/employer.rb', line 137 required :state, String |
#zipcode ⇒ String
ZIP code (5 or 9 digit)
143 |
# File 'lib/vitable_connect/models/employer.rb', line 143 required :zipcode, String |
Instance Method Details
#to_hash ⇒ {
107 |
# File 'sig/vitable_connect/models/employer.rbs', line 107
def to_hash: -> {
|