Class: Peddler::APIs::ShippingV1::ContainerSpecification

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/shipping_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dimensionsPeddler::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

#weightPeddler::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 ]

Returns:

  • ([ :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

.parsePeddler::APIs::ShippingV1::ContainerSpecification

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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 }