module Bulkrax

Constants

VERSION

Public Class Methods

api_definition() click to toggle source
# File lib/bulkrax.rb, line 145
def self.api_definition
  @api_definition ||= ActiveSupport::HashWithIndifferentAccess.new(
    YAML.safe_load(
      ERB.new(
        File.read(Rails.root.join('config', 'bulkrax_api.yml'))
      ).result
    )
  )
end
setup() { |self| ... } click to toggle source

this function maps the vars from your app into your engine

# File lib/bulkrax.rb, line 158
def self.setup
  yield self
end