Sha256: 54d607b0c6dcc389410f9b9d8141a08fa075dd8f2a39d00d4053364fb0cdfd7e
Contents?: true
Size: 448 Bytes
Versions: 1
Compression:
Stored size: 448 Bytes
Contents
# encoding: utf-8 module HireFire module Backend ## # Load the correct module (ActiveRecord or Mongoid) # based on which Delayed::Backend has been loaded # # @return [nil] def self.included(base) if defined?(Delayed::Backend::ActiveRecord::Job) base.send(:include, ActiveRecord) end if defined?(Delayed::Backend::Mongoid::Job) base.send(:include, Mongoid) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hirefire-0.1.0 | lib/hirefire/backend.rb |