Sha256: 681c3babcd621697b5900d209786eaf244fc70493d24f6174d09511e6cf1e78a
Contents?: true
Size: 379 Bytes
Versions: 25
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module Hyrax module Zotero def self.config @config ||= reload_config! end def self.reload_config! @config = YAML.safe_load(ERB.new(IO.read(Rails.root.join('config', 'zotero.yml'))).result)['zotero'] end def self.publications_url(zotero_userid) "/users/#{zotero_userid}/publications/items" end end end
Version data entries
25 entries across 25 versions & 1 rubygems