Class: Peddler::APIs::VendorShipmentsV1::TotalWeight
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorShipmentsV1::TotalWeight
- Defined in:
- sig/peddler/apis/vendor_shipments_v1.rbs
Instance Attribute Summary collapse
-
#amount ⇒ String
readonly
Returns the value of attribute amount.
-
#unit_of_measure ⇒ String
readonly
Returns the value of attribute unit_of_measure.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :amount, :unit_of_measure ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorShipmentsV1::TotalWeight
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ String (readonly)
Returns the value of attribute amount.
838 839 840 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 838 def amount @amount end |
#unit_of_measure ⇒ String (readonly)
Returns the value of attribute unit_of_measure.
839 840 841 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 839 def unit_of_measure @unit_of_measure end |
Class Method Details
.[](amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorShipmentsV1::TotalWeight .[](arg0, arg1) ⇒ Peddler::APIs::VendorShipmentsV1::TotalWeight
831 832 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 831
def self.[]: (amount: String, unit_of_measure: String) -> Peddler::APIs::VendorShipmentsV1::TotalWeight
| (String, String) -> Peddler::APIs::VendorShipmentsV1::TotalWeight
|
.members ⇒ [ :amount, :unit_of_measure ]
834 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 834
def self.members: () -> [ :amount, :unit_of_measure ]
|
.new(amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorShipmentsV1::TotalWeight .new(arg0, arg1) ⇒ Peddler::APIs::VendorShipmentsV1::TotalWeight
829 830 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 829
def self.new: (amount: String, unit_of_measure: String) -> Peddler::APIs::VendorShipmentsV1::TotalWeight
| (String, String) -> Peddler::APIs::VendorShipmentsV1::TotalWeight
|
.parse ⇒ Peddler::APIs::VendorShipmentsV1::TotalWeight
836 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 836
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::TotalWeight
|
Instance Method Details
#members ⇒ [ :amount, :unit_of_measure ]
841 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 841
def members: () -> [ :amount, :unit_of_measure ]
|
#to_h ⇒ { amount: String, unit_of_measure: String }
842 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 842
def to_h: () -> { amount: String, unit_of_measure: String }
|