Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#dimension_unit ⇒ String
readonly
Returns the value of attribute dimension_unit.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :dimension_unit, :value ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
Instance Method Summary collapse
Instance Attribute Details
#dimension_unit ⇒ String (readonly)
Returns the value of attribute dimension_unit.
184 185 186 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 184 def dimension_unit @dimension_unit end |
#value ⇒ String (readonly)
Returns the value of attribute value.
185 186 187 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 185 def value @value end |
Class Method Details
.[](dimension_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
177 178 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 177 def self.[]: (dimension_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension | (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension |
.members ⇒ [ :dimension_unit, :value ]
180 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 180 def self.members: () -> [ :dimension_unit, :value ] |
.new(dimension_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
175 176 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 175 def self.new: (dimension_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension | (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension |
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension
182 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 182 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Dimension |
Instance Method Details
#members ⇒ [ :dimension_unit, :value ]
187 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 187 def members: () -> [ :dimension_unit, :value ] |
#to_h ⇒ { dimension_unit: String, value: String }
188 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 188 def to_h: () -> { dimension_unit: String, value: String } |