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

#city ⇒ String? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


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

def city
  @city
end

#country_code ⇒ String? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


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

def country_code
  @country_code
end

#region ⇒ String? (readonly)

Returns the value of attribute region.

Returns:

  • (String, nil)


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

def region
  @region
end

Class Method Details

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

Overloads:



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

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 ])


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

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:



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

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

.parse ⇒ Peddler::APIs::Tracking20260130::TrackingMilestoneAddress

Parameters:

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

Returns:



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

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 ])


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

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

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

Returns:

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


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

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