module FedoraLens

Constants

HOST
VERSION

Public Class Methods

base_path() click to toggle source
# File lib/fedora_lens/core.rb, line 35
def base_path
  @@base_path ||= ''
end
base_path=(path) click to toggle source

Set a base path if you want to put all your objects below a certain path example:

FedoraLens.base_path = '/text
# File lib/fedora_lens/core.rb, line 42
def base_path= path
  @@base_path =  path
end
connection() click to toggle source
# File lib/fedora_lens/core.rb, line 27
def connection
  @@connection ||= Ldp::Client.new(host)
end
host() click to toggle source
# File lib/fedora_lens/core.rb, line 31
def host
  HOST
end