Sha256: 1192cbf5489e34c11394c4850c2a2029233a0648b91f85e1adbc51edc3ce9c18

Contents?: true

Size: 717 Bytes

Versions: 1

Compression:

Stored size: 717 Bytes

Contents

module Ezid
  #
  # EZID reserved metadata elements
  #
  # @see http://ezid.cdlib.org/doc/apidoc.html#internal-metadata
  #
  module ReservedMetadata
    COOWNERS   = "_coowners".freeze
    CREATED    = "_created".freeze
    DATACENTER = "_datacenter".freeze
    EXPORT     = "_export".freeze
    OWNER      = "_owner".freeze
    OWNERGROUP = "_ownergroup".freeze
    PROFILE    = "_profile".freeze
    SHADOWEDBY = "_shadowedby".freeze
    SHADOWS    = "_shadows".freeze
    STATUS     = "_status".freeze
    TARGET     = "_target".freeze
    UPDATED    = "_updated".freeze

    # Read-only elements
    READONLY = [
      CREATED, DATACENTER, OWNER, OWNERGROUP, SHADOWEDBY, SHADOWS, UPDATED
    ].freeze
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ezid-client-1.3.0 lib/ezid/reserved_metadata.rb