dspace.rb 922 Bytes
Newer Older
1
2
require "forwardable"
require "json"
3
require "resource_kit"
4
require "faraday"
5
require "active_support/all"
6

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

23
module Dspace
24
25

  class NotAuthorizedError < StandardError; end
26
27
  class InvalidTokenError < StandardError; end
  class InvalidCredentialsError < StandardError; end
28

29
end