class Eddy::Elements::E455

### Element Summary:

### Notes:

Public Class Methods

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

@param val [String] (“X”) @param req [String] (nil) @param ref [String] (nil) @return [void]

Calls superclass method Eddy::Models::Element::ID::new
# File lib/definitions/elements/manual/455.responsible_agency_code.rb, line 20
def initialize(val: "X", req: nil, ref: nil)
  @id = "455"
  @name = "Responsible Agency Code"
  @description = "Code used in conjunction with Data Element 480 to identify the issuer of the standard"
  super(
    min: 1,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end

Public Instance Methods

code_list() click to toggle source

@return [Array<String>]

# File lib/definitions/elements/manual/455.responsible_agency_code.rb, line 34
def code_list()
  return [
    "T", # Transportation Data Coordinating Committee (TDCC)
    "X", # Accredited Standards Committee X12
  ]
end