Sha256: f23d2f39f99a0db757cbfc4b193789f891bf76ce5da3c91a93aa103d346240fe

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: I03
    # - Name: Security Information Qualifier
    # - Type: ID
    # - Min/Max: 2/2
    # - Description: Code to identify the type of information in the Security Information
    #
    # ### Notes:
    #
    # - (Default value: `"00"`)
    class I03 < Eddy::Element::ID

      # @param val [String] ("00")
      # @param req [String] (nil)
      # @param ref [String] (nil)
      # @return [void]
      def initialize(val: "00", req: nil, ref: nil)
        @id = "I03"
        @name = "Security Information Qualifier"
        @description = "Code to identify the type of information in the Security Information"
        super(
          min: 2,
          max: 2,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "00", # No Security Information Present (No Meaningful Information in I04)
          "01", # Password
        ]
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.5.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.4.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.3.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb