Class: Peddler::APIs::FulfillmentInbound20240320::Dimensions
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::Dimensions
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#height ⇒ Float
readonly
Returns the value of attribute height.
-
#length ⇒ Float
readonly
Returns the value of attribute length.
-
#unit_of_measurement ⇒ String
readonly
Returns the value of attribute unit_of_measurement.
-
#width ⇒ Float
readonly
Returns the value of attribute width.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :height, :length, :unit_of_measurement, :width ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions
Instance Method Summary collapse
-
#members ⇒ [ :height, :length, :unit_of_measurement, :width ]
-
#to_h ⇒ { height: Float, length: Float, unit_of_measurement: String, width: Float }
Instance Attribute Details
#height ⇒ Float (readonly)
Returns the value of attribute height.
544 545 546 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 544 def height @height end |
#length ⇒ Float (readonly)
Returns the value of attribute length.
545 546 547 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 545 def length @length end |
#unit_of_measurement ⇒ String (readonly)
Returns the value of attribute unit_of_measurement.
546 547 548 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 546 def unit_of_measurement @unit_of_measurement end |
#width ⇒ Float (readonly)
Returns the value of attribute width.
547 548 549 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 547 def width @width end |
Class Method Details
.[](height:, length:, unit_of_measurement:, width:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions
537 538 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 537
def self.[]: (height: Float, length: Float, unit_of_measurement: String, width: Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions
| (Float, Float, String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions
|
.members ⇒ [ :height, :length, :unit_of_measurement, :width ]
540 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 540
def self.members: () -> [ :height, :length, :unit_of_measurement, :width ]
|
.new(height:, length:, unit_of_measurement:, width:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions
535 536 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 535
def self.new: (height: Float, length: Float, unit_of_measurement: String, width: Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions
| (Float, Float, String, Float) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions
542 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 542
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::Dimensions
|
Instance Method Details
#members ⇒ [ :height, :length, :unit_of_measurement, :width ]
549 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 549
def members: () -> [ :height, :length, :unit_of_measurement, :width ]
|
#to_h ⇒ { height: Float, length: Float, unit_of_measurement: String, width: Float }
550 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 550
def to_h: () -> { height: Float, length: Float, unit_of_measurement: String, width: Float }
|