class Eddy::Elements::E1232
### Element Summary:
-
Id: 1232
-
Name: Purchase Category
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the broad category of products or services being acquired
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/1232.purchase_category.rb, line 16 def initialize(val: nil, req: nil, ref: nil) @id = "1232" @name = "Purchase Category" @description = "Code identifying the broad category of products or services being acquired" super( min: 2, 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/generated/1232.purchase_category.rb, line 30 def code_list() return [ "AE", # Architect and Engineering "CN", # Construction "DR", # Demolish, Dismantle or Replace "ER", # Equipment Rental "HW", # Hardware "IR", # Inspect and Repair as Necessary "MD", # Modification "OV", # Overhaul "RD", # Research and Development "RE", # Repair "SB", # Shipbuilding "SP", # Supplies "SU", # Subsistence "SV", # Services "TE", # Test and Evaluation "UT", # Utilities ] end