Class: Peddler::APIs::MerchantFulfillmentV0::Weight
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::Weight
- 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::Weight
Instance Method Summary collapse
Instance Attribute Details
#unit ⇒ String (readonly)
Returns the value of attribute unit.
926 927 928 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 926 def unit @unit end |
#value ⇒ Float (readonly)
Returns the value of attribute value.
927 928 929 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 927 def value @value end |
Class Method Details
.[](unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Weight .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::Weight
919 920 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 919
def self.[]: (unit: String, value: Float) -> Peddler::APIs::MerchantFulfillmentV0::Weight
| (String, Float) -> Peddler::APIs::MerchantFulfillmentV0::Weight
|
.members ⇒ [ :unit, :value ]
922 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 922
def self.members: () -> [ :unit, :value ]
|
.new(unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Weight .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::Weight
917 918 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 917
def self.new: (unit: String, value: Float) -> Peddler::APIs::MerchantFulfillmentV0::Weight
| (String, Float) -> Peddler::APIs::MerchantFulfillmentV0::Weight
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Weight
924 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 924
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::Weight
|
Instance Method Details
#members ⇒ [ :unit, :value ]
929 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 929
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String, value: Float }
930 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 930
def to_h: () -> { unit: String, value: Float }
|