Class: Peddler::APIs::FulfillmentInbound20240320::Weight
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::Weight
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#unit ⇒ String
readonly
Returns the value of attribute unit.
-
#value ⇒ Float
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :unit, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight
Instance Method Summary collapse
Instance Attribute Details
#unit ⇒ String (readonly)
Returns the value of attribute unit.
2172 2173 2174 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2172 def unit @unit end |
#value ⇒ Float (readonly)
Returns the value of attribute value.
2173 2174 2175 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2173 def value @value end |
Class Method Details
.[](unit:, value:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight
2165 2166 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2165
def self.[]: (unit: String, value: Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
| (String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
|
.members ⇒ [ :unit, :value ]
2168 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2168
def self.members: () -> [ :unit, :value ]
|
.new(unit:, value:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight
2163 2164 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2163
def self.new: (unit: String, value: Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
| (String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight
2170 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2170
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::Weight
|
Instance Method Details
#members ⇒ [ :unit, :value ]
2175 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2175
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String, value: Float }
2176 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2176
def to_h: () -> { unit: String, value: Float }
|