Sha256: 2cb30bbf91eb7a643677e7c05e60c69ee498f6c2ec5c474bdde04a871f4f2239

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

require 'xml/mapping'
require 'datacite/mapping/read_only_nodes'

module Datacite
  module Mapping

    # Controlled vocabulary of name types
    class NameType < TypesafeEnum::Base
      # @!parse ORGANIZATIONAL = Organizational
      new :ORGANIZATIONAL, 'Organizational'

      # @!parse PERSONAL = Personal
      new :PERSONAL, 'Personal'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datacite-mapping-0.5.0 lib/datacite/mapping/name_type.rb
datacite-mapping-0.4.1 lib/datacite/mapping/name_type.rb
datacite-mapping-0.4.0 lib/datacite/mapping/name_type.rb