class Eddy::Elements::E80

### Element Summary:

Public Class Methods

new(val: nil, req: nil, ref: nil) click to toggle source

@param val [Integer] @param req [String] @param ref [String] @return [void]

Calls superclass method Eddy::Models::Element::N::new
# File lib/definitions/elements/generated/80.lading_quantity.rb, line 15
def initialize(val: nil, req: nil, ref: nil)
  @id = "80"
  @name = "Lading Quantity"
  @description = "Number of units (pieces) of the lading commodity"
  super(
    min: 1,
    max: 7,
    req: req,
    ref: ref,
    val: val,
    decimals: 0,
  )
end