Class: Peddler::APIs::MerchantFulfillmentV0::Length
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::Length
- 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::Length
Instance Method Summary collapse
Instance Attribute Details
#unit ⇒ String? (readonly)
Returns the value of attribute unit.
625 626 627 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 625 def unit @unit end |
#value ⇒ Float? (readonly)
Returns the value of attribute value.
626 627 628 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 626 def value @value end |
Class Method Details
.[](unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Length .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::Length
618 619 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 618
def self.[]: (?unit: String?, ?value: Float?) -> Peddler::APIs::MerchantFulfillmentV0::Length
| (String?, Float?) -> Peddler::APIs::MerchantFulfillmentV0::Length
|
.members ⇒ [ :unit, :value ]
621 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 621
def self.members: () -> [ :unit, :value ]
|
.new(unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Length .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::Length
616 617 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 616
def self.new: (?unit: String?, ?value: Float?) -> Peddler::APIs::MerchantFulfillmentV0::Length
| (String?, Float?) -> Peddler::APIs::MerchantFulfillmentV0::Length
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Length
623 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 623
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::Length
|
Instance Method Details
#members ⇒ [ :unit, :value ]
628 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 628
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String?, value: Float? }
629 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 629
def to_h: () -> { unit: String?, value: Float? }
|