Class: Peddler::APIs::FulfillmentOutbound20200701::Weight

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_outbound_2020_07_01.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)


1584
1585
1586
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1584

def unit
  @unit
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1585
1586
1587
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1585

def value
  @value
end

Class Method Details

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

Overloads:



1577
1578
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1577

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

.members[ :unit, :value ]

Returns:

  • ([ :unit, :value ])


1580
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1580

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

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

Overloads:



1575
1576
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1575

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

.parsePeddler::APIs::FulfillmentOutbound20200701::Weight

Parameters:

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

Returns:



1582
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1582

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

Instance Method Details

#members[ :unit, :value ]

Returns:

  • ([ :unit, :value ])


1587
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1587

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

#to_h{ unit: String, value: String }

Returns:

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


1588
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1588

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