Class: Peddler::APIs::VendorShipmentsV1::Dimensions

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/vendor_shipments_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#heightString (readonly)

Returns the value of attribute height.

Returns:

  • (String)


192
193
194
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 192

def height
  @height
end

#lengthString (readonly)

Returns the value of attribute length.

Returns:

  • (String)


193
194
195
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 193

def length
  @length
end

#unit_of_measureString (readonly)

Returns the value of attribute unit_of_measure.

Returns:

  • (String)


194
195
196
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 194

def unit_of_measure
  @unit_of_measure
end

#widthString (readonly)

Returns the value of attribute width.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::VendorShipmentsV1::Dimensions

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

  • ({ 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 }