Class: Peddler::APIs::EasyShip20220323::Dimensions

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#heightFloat? (readonly)

Returns the value of attribute height.

Returns:

  • (Float, nil)


68
69
70
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 68

def height
  @height
end

#identifierString? (readonly)

Returns the value of attribute identifier.

Returns:

  • (String, nil)


69
70
71
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 69

def identifier
  @identifier
end

#lengthFloat? (readonly)

Returns the value of attribute length.

Returns:

  • (Float, nil)


70
71
72
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 70

def length
  @length
end

#unitString? (readonly)

Returns the value of attribute unit.

Returns:

  • (String, nil)


71
72
73
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 71

def unit
  @unit
end

#widthFloat? (readonly)

Returns the value of attribute width.

Returns:

  • (Float, nil)


72
73
74
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 72

def width
  @width
end

Class Method Details

.[](height:, identifier:, length:, unit:, width:) ⇒ Peddler::APIs::EasyShip20220323::Dimensions .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::EasyShip20220323::Dimensions

Overloads:



61
62
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 61

def self.[]: (?height: Float?, ?identifier: String?, ?length: Float?, ?unit: String?, ?width: Float?) -> Peddler::APIs::EasyShip20220323::Dimensions
| (Float?, String?, Float?, String?, Float?) -> Peddler::APIs::EasyShip20220323::Dimensions

.members[ :height, :identifier, :length, :unit, :width ]

Returns:

  • ([ :height, :identifier, :length, :unit, :width ])


64
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 64

def self.members: () -> [ :height, :identifier, :length, :unit, :width ]

.new(height:, identifier:, length:, unit:, width:) ⇒ Peddler::APIs::EasyShip20220323::Dimensions .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::EasyShip20220323::Dimensions

Overloads:



59
60
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 59

def self.new: (?height: Float?, ?identifier: String?, ?length: Float?, ?unit: String?, ?width: Float?) -> Peddler::APIs::EasyShip20220323::Dimensions
| (Float?, String?, Float?, String?, Float?) -> Peddler::APIs::EasyShip20220323::Dimensions

.parsePeddler::APIs::EasyShip20220323::Dimensions

Parameters:

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

Returns:



66
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 66

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

Instance Method Details

#members[ :height, :identifier, :length, :unit, :width ]

Returns:

  • ([ :height, :identifier, :length, :unit, :width ])


74
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 74

def members: () -> [ :height, :identifier, :length, :unit, :width ]

#to_h{ height: Float?, identifier: String?, length: Float?, unit: String?, width: Float? }

Returns:

  • ({ height: Float?, identifier: String?, length: Float?, unit: String?, width: Float? })


75
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 75

def to_h: () -> { height: Float?, identifier: String?, length: Float?, unit: String?, width: Float? }