module Wupee

Constants

VERSION

Public Class Methods

notify(opts = {}) { |wupee_notifier| ... } click to toggle source
# File lib/wupee.rb, line 8
def self.notify(opts = {}, &block)
  wupee_notifier = Wupee::Notifier.new(opts)
  yield wupee_notifier if block_given?
  wupee_notifier.execute
end
receivers=(klass) click to toggle source
# File lib/wupee.rb, line 14
def self.receivers=(klass)
  @@receivers = klass
  Wupee::NotificationType.create_configurations_for(klass)
end