Class: Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
- Defined in:
- sig/peddler/apis/merchant_fulfillment_v0.rbs
Instance Attribute Summary collapse
-
#length ⇒ Float
readonly
Returns the value of attribute length.
-
#unit ⇒ String
readonly
Returns the value of attribute unit.
-
#width ⇒ Float
readonly
Returns the value of attribute width.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :length, :unit, :width ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
Instance Method Summary collapse
Instance Attribute Details
#length ⇒ Float (readonly)
Returns the value of attribute length.
568 569 570 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 568 def length @length end |
#unit ⇒ String (readonly)
Returns the value of attribute unit.
569 570 571 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 569 def unit @unit end |
#width ⇒ Float (readonly)
Returns the value of attribute width.
570 571 572 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 570 def width @width end |
Class Method Details
.[](length:, unit:, width:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions .[](arg0, arg1, arg2) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
561 562 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 561
def self.[]: (length: Float, unit: String, width: Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
| (Float, String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
|
.members ⇒ [ :length, :unit, :width ]
564 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 564
def self.members: () -> [ :length, :unit, :width ]
|
.new(length:, unit:, width:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions .new(arg0, arg1, arg2) ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
559 560 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 559
def self.new: (length: Float, unit: String, width: Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
| (Float, String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
566 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 566
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::LabelDimensions
|
Instance Method Details
#members ⇒ [ :length, :unit, :width ]
572 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 572
def members: () -> [ :length, :unit, :width ]
|
#to_h ⇒ { length: Float, unit: String, width: Float }
573 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 573
def to_h: () -> { length: Float, unit: String, width: Float }
|