Sha256: 065b6116849840076afe1bf67b9471688439f4cf463952edffcdf7ebc946df9e
Contents?: true
Size: 375 Bytes
Versions: 20
Compression:
Stored size: 375 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) require 'notifyor/plugin' require 'notifyor/configuration' module Notifyor class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield(configuration) if block_given? end ActiveRecord::Base.send(:include, ::Notifyor::Plugin) if defined?(ActiveRecord) end
Version data entries
20 entries across 20 versions & 1 rubygems