Class: Orb::Models::Address
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(city: , country: , line1: , line2: , postal_code: , state: ) ⇒ Object
|
# File 'lib/orb/models/address.rb', line 36
|
Instance Attribute Details
#city ⇒ String?
9
|
# File 'lib/orb/models/address.rb', line 9
required :city, String, nil?: true
|
#country ⇒ String?
14
|
# File 'lib/orb/models/address.rb', line 14
required :country, String, nil?: true
|
#line1 ⇒ String?
19
|
# File 'lib/orb/models/address.rb', line 19
required :line1, String, nil?: true
|
#line2 ⇒ String?
24
|
# File 'lib/orb/models/address.rb', line 24
required :line2, String, nil?: true
|
#postal_code ⇒ String?
29
|
# File 'lib/orb/models/address.rb', line 29
required :postal_code, String, nil?: true
|
#state ⇒ String?
34
|
# File 'lib/orb/models/address.rb', line 34
required :state, String, nil?: true
|