Sha256: de87dbc6daf37b069aef7a0afb453a620bccbd6cc9f8fea7d3d662491ac31c38

Contents?: true

Size: 263 Bytes

Versions: 12

Compression:

Stored size: 263 Bytes

Contents

require 'typesafe_enum'

module Stash
  module Wrapper
    # Controlled vocabulary for {Identifier#type}
    class IdentifierType < TypesafeEnum::Base
      new :ARK, 'ARK'
      new :DOI, 'DOI'
      new :HANDLE, 'Handle'
      new :URL, 'URL'
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
stash-wrapper-0.1.11.1 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.11 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.10 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.9 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.8 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.7 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.6 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.5 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.4 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.3 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.2 lib/stash/wrapper/identifier_type.rb
stash-wrapper-0.1.1 lib/stash/wrapper/identifier_type.rb