Sha256: 0e4c67ff16fc51868a660520cf633ecafecfbf76b00a1a306c4083a1ba4625be
Contents?: true
Size: 630 Bytes
Versions: 20
Compression:
Stored size: 630 Bytes
Contents
require "kaminari" require "notify_user/railtie" require "notify_user/engine" module NotifyUser mattr_accessor :mailer_sender @@mailer_sender = nil mattr_accessor :authentication_method @@authentication_method = nil mattr_accessor :current_user_method @@current_user_method = nil mattr_accessor :unsubscribable_notifications @@unsubscribable_notifications = nil # Used to set up NotifyUser from the initializer. def self.setup yield self end def self.send_notification(type) type.camelize.constantize.new end end Gem.find_files("notify_user/channels/**/*.rb").each { |path| require path }
Version data entries
20 entries across 20 versions & 1 rubygems