Module: OAI::Const

Defined in:
lib/oai/constants.rb

Defined Under Namespace

Modules: Delete, Granularity

Constant Summary collapse

VERBS =

OAI defines six verbs with various allowable options.

{
  'Identify' => [],
  'ListMetadataFormats' => [:identifier],
  'ListSets' => [:resumption_token],  # unused currently
  'GetRecord' => [:identifier, :from, :until, :set, :metadata_prefix],
  'ListIdentifiers' => [:from, :until, :set, :metadata_prefix, :resumption_token],
  'ListRecords' => [:from, :until, :set, :metadata_prefix, :resumption_token]
}.freeze
RESERVED_WORDS =
%w{type id}