Sha256: 06032aa2038e08ec4b4bb8314dbfa6a5a6ed22261aaef31287fde554e47c96f4

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

module Ezid
  module TestHelper

    ARK_SHOULDER = "ark:/99999/fk4"
    DOI_SHOULDER = "doi:10.5072/FK2"
    USER = "apitest"

    Client.configure do |config|
      config.user = USER
      config.default_shoulder = ARK_SHOULDER
    end

    def doi_metadata
      Metadata.new("datacite.title" => "Test", 
                   "datacite.creator" => "Duke",
                   "datacite.publisher" => "Duke",
                   "datacite.publicationyear" => "2014",
                   "datacite.resourcetype" => "Other")
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ezid-client-0.3.0 lib/ezid/test_helper.rb
ezid-client-0.2.0 lib/ezid/test_helper.rb
ezid-client-0.1.1 lib/ezid/test_helper.rb