Sha256: 349bb490a1059747006ff17b9780fa3a75564feee8b29f8ed5c16d53e4255878

Contents?: true

Size: 502 Bytes

Versions: 4

Compression:

Stored size: 502 Bytes

Contents

require 'libis/services/oai'
require 'libis/tools/xml_document'

module Libis
  module Services
    module Rosetta
      class OaiPmh < Libis::Services::Oai

        def initialize(base_url = 'https://repository.teneo.libis.be', options = {})
          super(base_url + '/oaiprovider/request')
        end

        def collections(institute, token_or_query = nil)
          records(token_or_query_to_hash(token_or_query).merge(set: "#{institute}-collections"))
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libis-services-1.1.0 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.13 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.12 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.11 lib/libis/services/rosetta/oai_pmh.rb