Sha256: 6238012359f500f9a982d79bca00cd65aea7d8e01d1171ba6d71838d1e7c547e

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.0'
  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.7.0 lib/fcrepo_wrapper.rb