dspace.rb 730 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/item_resource"
9
10
11
require_relative "dspace/builders/hash_builder"
require_relative "dspace/builders/model_builder"
require_relative "dspace/community"
12
require_relative "dspace/collection"
13
14
15
16
require_relative "dspace/item"
require_relative "dspace/metadata"
require_relative "dspace/bitstream"
require_relative "dspace/policy"
17

18
module Dspace
19
20

  class NotAuthorizedError < StandardError; end
21
22
  class InvalidTokenError < StandardError; end
  class InvalidCredentialsError < StandardError; end
23

24
end