Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#value ⇒ String
readonly
Returns the value of attribute value.
-
#weight_unit ⇒ String
readonly
Returns the value of attribute weight_unit.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :value, :weight_unit ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ String (readonly)
Returns the value of attribute value.
953 954 955 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 953 def value @value end |
#weight_unit ⇒ String (readonly)
Returns the value of attribute weight_unit.
954 955 956 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 954 def weight_unit @weight_unit end |
Class Method Details
.[](value:, weight_unit:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
946 947 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 946
def self.[]: (value: String, weight_unit: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
|
.members ⇒ [ :value, :weight_unit ]
949 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 949
def self.members: () -> [ :value, :weight_unit ]
|
.new(value:, weight_unit:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
944 945 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 944
def self.new: (value: String, weight_unit: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
951 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 951
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Weight
|
Instance Method Details
#members ⇒ [ :value, :weight_unit ]
956 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 956
def members: () -> [ :value, :weight_unit ]
|
#to_h ⇒ { value: String, weight_unit: String }
957 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 957
def to_h: () -> { value: String, weight_unit: String }
|