Class: Peddler::APIs::FulfillmentInbound20240320::BoxRequirements

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#weightPeddler::APIs::FulfillmentInbound20240320::WeightRange (readonly)

Returns the value of attribute weight.



146
147
148
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 146

def weight
  @weight
end

Class Method Details

.[](weight:) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxRequirements .[](arg0) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxRequirements



139
140
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 139

def self.[]: (weight: Peddler::APIs::FulfillmentInbound20240320::WeightRange) -> Peddler::APIs::FulfillmentInbound20240320::BoxRequirements
| (Peddler::APIs::FulfillmentInbound20240320::WeightRange) -> Peddler::APIs::FulfillmentInbound20240320::BoxRequirements

.members[ :weight ]

Returns:

  • ([ :weight ])


142
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 142

def self.members: () -> [ :weight ]

.new(weight:) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxRequirements .new(arg0) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxRequirements



137
138
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 137

def self.new: (weight: Peddler::APIs::FulfillmentInbound20240320::WeightRange) -> Peddler::APIs::FulfillmentInbound20240320::BoxRequirements
| (Peddler::APIs::FulfillmentInbound20240320::WeightRange) -> Peddler::APIs::FulfillmentInbound20240320::BoxRequirements

.parsePeddler::APIs::FulfillmentInbound20240320::BoxRequirements

Parameters:

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

Returns:



144
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 144

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::BoxRequirements

Instance Method Details

#members[ :weight ]

Returns:

  • ([ :weight ])


148
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 148

def members: () -> [ :weight ]

#to_h{ weight: Peddler::APIs::FulfillmentInbound20240320::WeightRange }



149
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 149

def to_h: () -> { weight: Peddler::APIs::FulfillmentInbound20240320::WeightRange }