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.
2171 2172 2173 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2171 def unit @unit end |
#value ⇒ Float (readonly)
Returns the value of attribute value.
2172 2173 2174 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2172 def value @value end |
Class Method Details
.[](unit:, value:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight
2164 2165 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2164
def self.[]: (unit: String, value: Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
| (String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
|
.members ⇒ [ :unit, :value ]
2167 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2167
def self.members: () -> [ :unit, :value ]
|
.new(unit:, value:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight
2162 2163 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2162
def self.new: (unit: String, value: Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
| (String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Weight
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight
2169 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2169
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::Weight
|
Instance Method Details
#members ⇒ [ :unit, :value ]
2174 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2174
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String, value: Float }
2175 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 2175
def to_h: () -> { unit: String, value: Float }
|