Sha256: 5ccd8f3a15367a079f8b6b12c0dc97e43f55a04ff1bc267d2bb1724207969c66
Contents?: true
Size: 428 Bytes
Versions: 24
Compression:
Stored size: 428 Bytes
Contents
require 'libis/services/oai' require 'base64' module Libis module Services module Viaa class OaiPmh < Libis::Services::Oai def initialize(name, password) token = Base64.encode64("#{name}:#{password}").gsub("\n", '') base_url = 'https://archief.viaa.be/mediahaven-oai/oai' super(base_url, headers: {'Authorization' => "Basic #{token}"}) end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems