Class: Peddler::APIs::FulfillmentOutbound20260704::Weight

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#unitString (readonly)

Returns the value of attribute unit.

Returns:

  • (String)


1353
1354
1355
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1353

def unit
  @unit
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1354
1355
1356
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1354

def value
  @value
end

Class Method Details

.[](unit:, value:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Weight .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Weight

Overloads:



1346
1347
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1346

def self.[]: (unit: String, value: String) -> Peddler::APIs::FulfillmentOutbound20260704::Weight
| (String, String) -> Peddler::APIs::FulfillmentOutbound20260704::Weight

.members[ :unit, :value ]

Returns:

  • ([ :unit, :value ])


1349
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1349

def self.members: () -> [ :unit, :value ]

.new(unit:, value:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Weight .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Weight

Overloads:



1344
1345
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1344

def self.new: (unit: String, value: String) -> Peddler::APIs::FulfillmentOutbound20260704::Weight
| (String, String) -> Peddler::APIs::FulfillmentOutbound20260704::Weight

.parsePeddler::APIs::FulfillmentOutbound20260704::Weight

Parameters:

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

Returns:



1351
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1351

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

Instance Method Details

#members[ :unit, :value ]

Returns:

  • ([ :unit, :value ])


1356
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1356

def members: () -> [ :unit, :value ]

#to_h{ unit: String, value: String }

Returns:

  • ({ unit: String, value: String })


1357
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1357

def to_h: () -> { unit: String, value: String }