Class: Peddler::APIs::FulfillmentOutbound20200701::Weight
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentOutbound20200701::Weight
- Defined in:
- sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs
Instance Attribute Summary collapse
-
#unit ⇒ String
readonly
Returns the value of attribute unit.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :unit, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentOutbound20200701::Weight
Instance Method Summary collapse
Instance Attribute Details
#unit ⇒ String (readonly)
Returns the value of attribute unit.
1584 1585 1586 |
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1584 def unit @unit end |
#value ⇒ String (readonly)
Returns the value of attribute value.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::FulfillmentOutbound20200701::Weight
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 ]
1587 |
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1587
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String, value: String }
1588 |
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1588
def to_h: () -> { unit: String, value: String }
|