Class: Peddler::APIs::CatalogItems20220401::Dimensions
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::CatalogItems20220401::Dimensions
- Defined in:
- sig/peddler/apis/catalog_items_2022_04_01.rbs
Instance Attribute Summary collapse
-
#height ⇒ Peddler::APIs::CatalogItems20220401::Dimension?
readonly
Returns the value of attribute height.
-
#length ⇒ Peddler::APIs::CatalogItems20220401::Dimension?
readonly
Returns the value of attribute length.
-
#weight ⇒ Peddler::APIs::CatalogItems20220401::Dimension?
readonly
Returns the value of attribute weight.
-
#width ⇒ Peddler::APIs::CatalogItems20220401::Dimension?
readonly
Returns the value of attribute width.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :height, :length, :weight, :width ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::CatalogItems20220401::Dimensions
Instance Method Summary collapse
-
#members ⇒ [ :height, :length, :weight, :width ]
-
#to_h ⇒ { height: Peddler::APIs::CatalogItems20220401::Dimension?, length: Peddler::APIs::CatalogItems20220401::Dimension?, weight: Peddler::APIs::CatalogItems20220401::Dimension?, width: Peddler::APIs::CatalogItems20220401::Dimension? }
Instance Attribute Details
#height ⇒ Peddler::APIs::CatalogItems20220401::Dimension? (readonly)
Returns the value of attribute height.
66 67 68 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 66 def height @height end |
#length ⇒ Peddler::APIs::CatalogItems20220401::Dimension? (readonly)
Returns the value of attribute length.
67 68 69 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 67 def length @length end |
#weight ⇒ Peddler::APIs::CatalogItems20220401::Dimension? (readonly)
Returns the value of attribute weight.
68 69 70 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 68 def weight @weight end |
#width ⇒ Peddler::APIs::CatalogItems20220401::Dimension? (readonly)
Returns the value of attribute width.
69 70 71 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 69 def width @width end |
Class Method Details
.[](height:, length:, weight:, width:) ⇒ Peddler::APIs::CatalogItems20220401::Dimensions .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::CatalogItems20220401::Dimensions
59 60 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 59
def self.[]: (?height: Peddler::APIs::CatalogItems20220401::Dimension?, ?length: Peddler::APIs::CatalogItems20220401::Dimension?, ?weight: Peddler::APIs::CatalogItems20220401::Dimension?, ?width: Peddler::APIs::CatalogItems20220401::Dimension?) -> Peddler::APIs::CatalogItems20220401::Dimensions
| (Peddler::APIs::CatalogItems20220401::Dimension?, Peddler::APIs::CatalogItems20220401::Dimension?, Peddler::APIs::CatalogItems20220401::Dimension?, Peddler::APIs::CatalogItems20220401::Dimension?) -> Peddler::APIs::CatalogItems20220401::Dimensions
|
.members ⇒ [ :height, :length, :weight, :width ]
62 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 62
def self.members: () -> [ :height, :length, :weight, :width ]
|
.new(height:, length:, weight:, width:) ⇒ Peddler::APIs::CatalogItems20220401::Dimensions .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::CatalogItems20220401::Dimensions
57 58 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 57
def self.new: (?height: Peddler::APIs::CatalogItems20220401::Dimension?, ?length: Peddler::APIs::CatalogItems20220401::Dimension?, ?weight: Peddler::APIs::CatalogItems20220401::Dimension?, ?width: Peddler::APIs::CatalogItems20220401::Dimension?) -> Peddler::APIs::CatalogItems20220401::Dimensions
| (Peddler::APIs::CatalogItems20220401::Dimension?, Peddler::APIs::CatalogItems20220401::Dimension?, Peddler::APIs::CatalogItems20220401::Dimension?, Peddler::APIs::CatalogItems20220401::Dimension?) -> Peddler::APIs::CatalogItems20220401::Dimensions
|
.parse ⇒ Peddler::APIs::CatalogItems20220401::Dimensions
64 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 64
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::CatalogItems20220401::Dimensions
|
Instance Method Details
#members ⇒ [ :height, :length, :weight, :width ]
71 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 71
def members: () -> [ :height, :length, :weight, :width ]
|
#to_h ⇒ { height: Peddler::APIs::CatalogItems20220401::Dimension?, length: Peddler::APIs::CatalogItems20220401::Dimension?, weight: Peddler::APIs::CatalogItems20220401::Dimension?, width: Peddler::APIs::CatalogItems20220401::Dimension? }
72 |
# File 'sig/peddler/apis/catalog_items_2022_04_01.rbs', line 72
def to_h: () -> { height: Peddler::APIs::CatalogItems20220401::Dimension?, length: Peddler::APIs::CatalogItems20220401::Dimension?, weight: Peddler::APIs::CatalogItems20220401::Dimension?, width: Peddler::APIs::CatalogItems20220401::Dimension? }
|