Class: Peddler::APIs::ShippingV1::Dimensions
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::Dimensions
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#height ⇒ Float
readonly
Returns the value of attribute height.
-
#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 ⇒ [ :height, :length, :unit, :width ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::Dimensions
Instance Method Summary collapse
-
#members ⇒ [ :height, :length, :unit, :width ]
-
#to_h ⇒ { height: Float, length: Float, unit: String, width: Float }
Instance Attribute Details
#height ⇒ Float (readonly)
Returns the value of attribute height.
209 210 211 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 209 def height @height end |
#length ⇒ Float (readonly)
Returns the value of attribute length.
210 211 212 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 210 def length @length end |
#unit ⇒ String (readonly)
Returns the value of attribute unit.
211 212 213 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 211 def unit @unit end |
#width ⇒ Float (readonly)
Returns the value of attribute width.
212 213 214 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 212 def width @width end |
Class Method Details
.[](height:, length:, unit:, width:) ⇒ Peddler::APIs::ShippingV1::Dimensions .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::Dimensions
202 203 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 202
def self.[]: (height: Float, length: Float, unit: String, width: Float) -> Peddler::APIs::ShippingV1::Dimensions
| (Float, Float, String, Float) -> Peddler::APIs::ShippingV1::Dimensions
|
.members ⇒ [ :height, :length, :unit, :width ]
205 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 205
def self.members: () -> [ :height, :length, :unit, :width ]
|
.new(height:, length:, unit:, width:) ⇒ Peddler::APIs::ShippingV1::Dimensions .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::Dimensions
200 201 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 200
def self.new: (height: Float, length: Float, unit: String, width: Float) -> Peddler::APIs::ShippingV1::Dimensions
| (Float, Float, String, Float) -> Peddler::APIs::ShippingV1::Dimensions
|
.parse ⇒ Peddler::APIs::ShippingV1::Dimensions
207 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 207
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::Dimensions
|
Instance Method Details
#members ⇒ [ :height, :length, :unit, :width ]
214 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 214
def members: () -> [ :height, :length, :unit, :width ]
|
#to_h ⇒ { height: Float, length: Float, unit: String, width: Float }
215 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 215
def to_h: () -> { height: Float, length: Float, unit: String, width: Float }
|