class Eddy::Elements::E322

### Element Summary:

Public Class Methods

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

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

Calls superclass method Eddy::Models::Element::ID::new
# File lib/definitions/elements/generated/322.load_empty_status_code.rb, line 16
def initialize(val: nil, req: nil, ref: nil)
  @id = "322"
  @name = "Load/Empty Status Code"
  @description = "Code which specifies the loaded condition of transportation equipment"
  super(
    min: 1,
    max: 1,
    req: req,
    ref: ref,
    val: val,
  )
end

Public Instance Methods

code_list() click to toggle source

@return [Array<String>]

# File lib/definitions/elements/generated/322.load_empty_status_code.rb, line 30
def code_list()
  return [
    "E", # Empty
    "L", # Loaded
    "T", # Total
  ]
end