Class: Peddler::APIs::EasyShip20220323::Dimensions
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::EasyShip20220323::Dimensions
- Defined in:
- sig/peddler/apis/easy_ship_2022_03_23.rbs
Instance Attribute Summary collapse
-
#height ⇒ Float?
readonly
Returns the value of attribute height.
-
#identifier ⇒ String?
readonly
Returns the value of attribute identifier.
-
#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, :identifier, :length, :unit, :width ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::EasyShip20220323::Dimensions
Instance Method Summary collapse
-
#members ⇒ [ :height, :identifier, :length, :unit, :width ]
-
#to_h ⇒ { height: Float?, identifier: String?, length: Float?, unit: String?, width: Float? }
Instance Attribute Details
#height ⇒ Float? (readonly)
Returns the value of attribute height.
68 69 70 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 68 def height @height end |
#identifier ⇒ String? (readonly)
Returns the value of attribute identifier.
69 70 71 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 69 def identifier @identifier end |
#length ⇒ Float? (readonly)
Returns the value of attribute length.
70 71 72 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 70 def length @length end |
#unit ⇒ String? (readonly)
Returns the value of attribute unit.
71 72 73 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 71 def unit @unit end |
#width ⇒ Float? (readonly)
Returns the value of attribute width.
72 73 74 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 72 def width @width end |
Class Method Details
.[](height:, identifier:, length:, unit:, width:) ⇒ Peddler::APIs::EasyShip20220323::Dimensions .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::EasyShip20220323::Dimensions
61 62 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 61
def self.[]: (?height: Float?, ?identifier: String?, ?length: Float?, ?unit: String?, ?width: Float?) -> Peddler::APIs::EasyShip20220323::Dimensions
| (Float?, String?, Float?, String?, Float?) -> Peddler::APIs::EasyShip20220323::Dimensions
|
.members ⇒ [ :height, :identifier, :length, :unit, :width ]
64 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 64
def self.members: () -> [ :height, :identifier, :length, :unit, :width ]
|
.new(height:, identifier:, length:, unit:, width:) ⇒ Peddler::APIs::EasyShip20220323::Dimensions .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::EasyShip20220323::Dimensions
59 60 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 59
def self.new: (?height: Float?, ?identifier: String?, ?length: Float?, ?unit: String?, ?width: Float?) -> Peddler::APIs::EasyShip20220323::Dimensions
| (Float?, String?, Float?, String?, Float?) -> Peddler::APIs::EasyShip20220323::Dimensions
|
.parse ⇒ Peddler::APIs::EasyShip20220323::Dimensions
66 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 66
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::EasyShip20220323::Dimensions
|
Instance Method Details
#members ⇒ [ :height, :identifier, :length, :unit, :width ]
74 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 74
def members: () -> [ :height, :identifier, :length, :unit, :width ]
|
#to_h ⇒ { height: Float?, identifier: String?, length: Float?, unit: String?, width: Float? }
75 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 75
def to_h: () -> { height: Float?, identifier: String?, length: Float?, unit: String?, width: Float? }
|