Class: Peddler::APIs::VendorShipmentsV1::Dimensions
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorShipmentsV1::Dimensions
- Defined in:
- sig/peddler/apis/vendor_shipments_v1.rbs
Instance Attribute Summary collapse
-
#height ⇒ String
readonly
Returns the value of attribute height.
-
#length ⇒ String
readonly
Returns the value of attribute length.
-
#unit_of_measure ⇒ String
readonly
Returns the value of attribute unit_of_measure.
-
#width ⇒ String
readonly
Returns the value of attribute width.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :height, :length, :unit_of_measure, :width ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorShipmentsV1::Dimensions
Instance Method Summary collapse
-
#members ⇒ [ :height, :length, :unit_of_measure, :width ]
-
#to_h ⇒ { height: String, length: String, unit_of_measure: String, width: String }
Instance Attribute Details
#height ⇒ String (readonly)
Returns the value of attribute height.
192 193 194 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 192 def height @height end |
#length ⇒ String (readonly)
Returns the value of attribute length.
193 194 195 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 193 def length @length end |
#unit_of_measure ⇒ String (readonly)
Returns the value of attribute unit_of_measure.
194 195 196 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 194 def unit_of_measure @unit_of_measure end |
#width ⇒ String (readonly)
Returns the value of attribute width.
195 196 197 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 195 def width @width end |
Class Method Details
.[](height:, length:, unit_of_measure:, width:) ⇒ Peddler::APIs::VendorShipmentsV1::Dimensions .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorShipmentsV1::Dimensions
185 186 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 185
def self.[]: (height: String, length: String, unit_of_measure: String, width: String) -> Peddler::APIs::VendorShipmentsV1::Dimensions
| (String, String, String, String) -> Peddler::APIs::VendorShipmentsV1::Dimensions
|
.members ⇒ [ :height, :length, :unit_of_measure, :width ]
188 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 188
def self.members: () -> [ :height, :length, :unit_of_measure, :width ]
|
.new(height:, length:, unit_of_measure:, width:) ⇒ Peddler::APIs::VendorShipmentsV1::Dimensions .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorShipmentsV1::Dimensions
183 184 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 183
def self.new: (height: String, length: String, unit_of_measure: String, width: String) -> Peddler::APIs::VendorShipmentsV1::Dimensions
| (String, String, String, String) -> Peddler::APIs::VendorShipmentsV1::Dimensions
|
.parse ⇒ Peddler::APIs::VendorShipmentsV1::Dimensions
190 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 190
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::Dimensions
|
Instance Method Details
#members ⇒ [ :height, :length, :unit_of_measure, :width ]
197 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 197
def members: () -> [ :height, :length, :unit_of_measure, :width ]
|
#to_h ⇒ { height: String, length: String, unit_of_measure: String, width: String }
198 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 198
def to_h: () -> { height: String, length: String, unit_of_measure: String, width: String }
|