Class: Peddler::APIs::Tracking20260130::TrackingMilestoneAddress

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/tracking_2026_01_30.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


175
176
177
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 175

def city
  @city
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


176
177
178
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 176

def country_code
  @country_code
end

#regionString? (readonly)

Returns the value of attribute region.

Returns:

  • (String, nil)


177
178
179
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 177

def region
  @region
end

Class Method Details

.[](city:, country_code:, region:) ⇒ Peddler::APIs::Tracking20260130::TrackingMilestoneAddress .[](arg0, arg1, arg2) ⇒ Peddler::APIs::Tracking20260130::TrackingMilestoneAddress

Overloads:



168
169
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 168

def self.[]: (?city: String?, ?country_code: String?, ?region: String?) -> Peddler::APIs::Tracking20260130::TrackingMilestoneAddress
| (String?, String?, String?) -> Peddler::APIs::Tracking20260130::TrackingMilestoneAddress

.members[ :city, :country_code, :region ]

Returns:

  • ([ :city, :country_code, :region ])


171
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 171

def self.members: () -> [ :city, :country_code, :region ]

.new(city:, country_code:, region:) ⇒ Peddler::APIs::Tracking20260130::TrackingMilestoneAddress .new(arg0, arg1, arg2) ⇒ Peddler::APIs::Tracking20260130::TrackingMilestoneAddress

Overloads:



166
167
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 166

def self.new: (?city: String?, ?country_code: String?, ?region: String?) -> Peddler::APIs::Tracking20260130::TrackingMilestoneAddress
| (String?, String?, String?) -> Peddler::APIs::Tracking20260130::TrackingMilestoneAddress

.parsePeddler::APIs::Tracking20260130::TrackingMilestoneAddress

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



173
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 173

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Tracking20260130::TrackingMilestoneAddress

Instance Method Details

#members[ :city, :country_code, :region ]

Returns:

  • ([ :city, :country_code, :region ])


179
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 179

def members: () -> [ :city, :country_code, :region ]

#to_h{ city: String?, country_code: String?, region: String? }

Returns:

  • ({ city: String?, country_code: String?, region: String? })


180
# File 'sig/peddler/apis/tracking_2026_01_30.rbs', line 180

def to_h: () -> { city: String?, country_code: String?, region: String? }