dspace.rb 823 Bytes
Newer Older
1
2
require "forwardable"
require "json"
3
require "resource_kit"
4

5
6
require_relative "dspace/version"
require_relative "dspace/resources/community_resource"
7
require_relative "dspace/resources/collection_resource"
8
require_relative "dspace/resources/authentication_resource"
9
require_relative "dspace/resources/item_resource"
10
11
12
require_relative "dspace/builders/hash_builder"
require_relative "dspace/builders/model_builder"
require_relative "dspace/community"
13
require_relative "dspace/collection"
14
15
16
17
require_relative "dspace/item"
require_relative "dspace/metadata"
require_relative "dspace/bitstream"
require_relative "dspace/policy"
18
require_relative "dspace/client"
19

20
module Dspace
21
22

  class NotAuthorizedError < StandardError; end
23
24
  class InvalidTokenError < StandardError; end
  class InvalidCredentialsError < StandardError; end
25

26
end