module FcrepoWrapper
Constants
- VERSION
Public Class Methods
default_fcrepo_port()
click to toggle source
# File lib/fcrepo_wrapper.rb, line 13 def self.default_fcrepo_port '8080' end
default_fcrepo_version()
click to toggle source
# File lib/fcrepo_wrapper.rb, line 9 def self.default_fcrepo_version '4.7.3' end
default_instance(options = {})
click to toggle source
# File lib/fcrepo_wrapper.rb, line 17 def self.default_instance(options = {}) @default_instance ||= FcrepoWrapper::Instance.new options end
wrap(options = {}, &block)
click to toggle source
Ensures a fcrepo service is running before executing the block
# File lib/fcrepo_wrapper.rb, line 23 def self.wrap(options = {}, &block) default_instance(options).wrap &block end