Class: Courier::Models::UserProfile::Address
Overview
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(country:, formatted:, locality:, postal_code:, region:, street_address:) ⇒ Object
|
# File 'lib/courier/models/user_profile.rb', line 267
|
Instance Attribute Details
#country ⇒ String
240
|
# File 'lib/courier/models/user_profile.rb', line 240
required :country, String
|
245
|
# File 'lib/courier/models/user_profile.rb', line 245
required :formatted, String
|
#locality ⇒ String
250
|
# File 'lib/courier/models/user_profile.rb', line 250
required :locality, String
|
#postal_code ⇒ String
255
|
# File 'lib/courier/models/user_profile.rb', line 255
required :postal_code, String
|
#region ⇒ String
260
|
# File 'lib/courier/models/user_profile.rb', line 260
required :region, String
|
#street_address ⇒ String
265
|
# File 'lib/courier/models/user_profile.rb', line 265
required :street_address, String
|
Instance Method Details
#to_hash ⇒ {
201
|
# File 'sig/courier/models/user_profile.rbs', line 201
def to_hash: -> {
|