Sha256: 007ec3b51dad9d1f3923f9395fc35e394a9c1bfa4b1c92bc4b3d994670b321af

Contents?: true

Size: 657 Bytes

Versions: 6

Compression:

Stored size: 657 Bytes

Contents

require "sufia/models/version"
require "sufia/models/engine"
require 'hydra/head'
require 'nest'
require 'mailboxer'
require 'acts_as_follower'
require 'carrierwave'
require "active_resource" # used by GenericFile to catch errors & by GeoNamesResource
require 'resque/server'

module Sufia
  extend ActiveSupport::Autoload

  module Models
  end

  autoload :Utils, 'sufia/models/utils'
  autoload :Permissions
  autoload :Messages

  attr_writer :queue

  def self.queue
    @queue ||= config.queue.new('sufia')
  end

  def self.config(&block)
    @@config ||= Sufia::Models::Engine::Configuration.new

    yield @@config if block

    @@config
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sufia-models-6.7.0 lib/sufia/models.rb
sufia-models-6.6.1 lib/sufia/models.rb
sufia-models-6.6.0 lib/sufia/models.rb
sufia-models-6.5.0 lib/sufia/models.rb
sufia-models-6.4.0 lib/sufia/models.rb
sufia-models-6.3.0 lib/sufia/models.rb