Class: Peddler::APIs::ShippingV1::ContainerSpecification
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::ContainerSpecification
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#dimensions ⇒ Peddler::APIs::ShippingV1::Dimensions
readonly
Returns the value of attribute dimensions.
-
#weight ⇒ Peddler::APIs::ShippingV1::Weight
readonly
Returns the value of attribute weight.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :dimensions, :weight ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::ContainerSpecification
Instance Method Summary collapse
-
#members ⇒ [ :dimensions, :weight ]
-
#to_h ⇒ { dimensions: Peddler::APIs::ShippingV1::Dimensions, weight: Peddler::APIs::ShippingV1::Weight }
Instance Attribute Details
#dimensions ⇒ Peddler::APIs::ShippingV1::Dimensions (readonly)
Returns the value of attribute dimensions.
135 136 137 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 135 def dimensions @dimensions end |
#weight ⇒ Peddler::APIs::ShippingV1::Weight (readonly)
Returns the value of attribute weight.
136 137 138 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 136 def weight @weight end |
Class Method Details
.[](dimensions:, weight:) ⇒ Peddler::APIs::ShippingV1::ContainerSpecification .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV1::ContainerSpecification
128 129 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 128
def self.[]: (dimensions: Peddler::APIs::ShippingV1::Dimensions, weight: Peddler::APIs::ShippingV1::Weight) -> Peddler::APIs::ShippingV1::ContainerSpecification
| (Peddler::APIs::ShippingV1::Dimensions, Peddler::APIs::ShippingV1::Weight) -> Peddler::APIs::ShippingV1::ContainerSpecification
|
.members ⇒ [ :dimensions, :weight ]
131 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 131
def self.members: () -> [ :dimensions, :weight ]
|
.new(dimensions:, weight:) ⇒ Peddler::APIs::ShippingV1::ContainerSpecification .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV1::ContainerSpecification
126 127 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 126
def self.new: (dimensions: Peddler::APIs::ShippingV1::Dimensions, weight: Peddler::APIs::ShippingV1::Weight) -> Peddler::APIs::ShippingV1::ContainerSpecification
| (Peddler::APIs::ShippingV1::Dimensions, Peddler::APIs::ShippingV1::Weight) -> Peddler::APIs::ShippingV1::ContainerSpecification
|
.parse ⇒ Peddler::APIs::ShippingV1::ContainerSpecification
133 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 133
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::ContainerSpecification
|
Instance Method Details
#members ⇒ [ :dimensions, :weight ]
138 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 138
def members: () -> [ :dimensions, :weight ]
|
#to_h ⇒ { dimensions: Peddler::APIs::ShippingV1::Dimensions, weight: Peddler::APIs::ShippingV1::Weight }
139 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 139
def to_h: () -> { dimensions: Peddler::APIs::ShippingV1::Dimensions, weight: Peddler::APIs::ShippingV1::Weight }
|