Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#distance_unit ⇒ String
readonly
Returns the value of attribute distance_unit.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :distance_unit, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
Instance Method Summary collapse
Instance Attribute Details
#distance_unit ⇒ String (readonly)
Returns the value of attribute distance_unit.
239 240 241 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 239 def distance_unit @distance_unit end |
#value ⇒ String (readonly)
Returns the value of attribute value.
240 241 242 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 240 def value @value end |
Class Method Details
.[](distance_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
232 233 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 232
def self.[]: (distance_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
|
.members ⇒ [ :distance_unit, :value ]
235 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 235
def self.members: () -> [ :distance_unit, :value ]
|
.new(distance_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
230 231 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 230
def self.new: (distance_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
237 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 237
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
|
Instance Method Details
#members ⇒ [ :distance_unit, :value ]
242 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 242
def members: () -> [ :distance_unit, :value ]
|
#to_h ⇒ { distance_unit: String, value: String }
243 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 243
def to_h: () -> { distance_unit: String, value: String }
|