Sha256: 12c0045c50eae2d73f7ced7ca1c3d18dac244d053eee5acfc29202425f34bef8

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

require 'fcrepo_wrapper/version'
require 'fcrepo_wrapper/configuration'
require 'fcrepo_wrapper/settings'
require 'fcrepo_wrapper/downloader'
require 'fcrepo_wrapper/md5'
require 'fcrepo_wrapper/instance'

module FcrepoWrapper
  def self.default_fcrepo_version
    '4.7.3'
  end

  def self.default_fcrepo_port
    '8080'
  end

  def self.default_instance(options = {})
    @default_instance ||= FcrepoWrapper::Instance.new options
  end

  ##
  # Ensures a fcrepo service is running before executing the block
  def self.wrap(options = {}, &block)
    default_instance(options).wrap &block
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_wrapper-0.9.0 lib/fcrepo_wrapper.rb