Class: Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
- Defined in:
- sig/peddler/apis/merchant_fulfillment_v0.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::MerchantFulfillmentV0::LiquidVolume
Instance Method Summary collapse
Instance Attribute Details
#unit ⇒ String (readonly)
Returns the value of attribute unit.
642 643 644 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 642 def unit @unit end |
#value ⇒ Float (readonly)
Returns the value of attribute value.
643 644 645 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 643 def value @value end |
Class Method Details
.[](unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
635 636 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 635
def self.[]: (unit: String, value: Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
| (String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
|
.members ⇒ [ :unit, :value ]
638 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 638
def self.members: () -> [ :unit, :value ]
|
.new(unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
633 634 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 633
def self.new: (unit: String, value: Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
| (String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
640 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 640
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
|
Instance Method Details
#members ⇒ [ :unit, :value ]
645 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 645
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String, value: Float }
646 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 646
def to_h: () -> { unit: String, value: Float }
|