Sha256: c375b32affb5b40344515ac98b5ce74f584d4744f68236f29e0a30bec45f10d5

Contents?: true

Size: 448 Bytes

Versions: 16

Compression:

Stored size: 448 Bytes

Contents

require 'libis/services/oai'

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

        def initialize(base_url = 'http://depot.lias.be', options = {})
          super(base_url + '/oaiprovider/request')
        end

        def collections(institute, token = nil, query = Query.new)
          query.set = "#{institute}-collections"
          records(token, query)
        end

      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
libis-services-1.0.10 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.7 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.6 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.5 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.2 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.1 lib/libis/services/rosetta/oai_pmh.rb
libis-services-1.0.0 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.2.1 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.2.0 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.1.18 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.1.17 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.1.16 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.1.15 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.1.14 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.1.13 lib/libis/services/rosetta/oai_pmh.rb
libis-services-0.1.12 lib/libis/services/rosetta/oai_pmh.rb