Sha256: cd4d8ea3f43211ab9eb04b9bf761349fe76a9413a6b3ee7dfc74d7b71e471a43

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

require "wupee/engine"
require "wupee/notifier"

module Wupee
  mattr_accessor :mailer, :deliver_when, :email_sending_rule, :notification_sending_rule

  def self.notify(opts = {}, &block)
    wupee_notifier = Wupee::Notifier.new(opts)
    yield wupee_notifier if block_given?
    wupee_notifier.execute
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wupee-2.0.0.beta2 lib/wupee.rb
wupee-2.0.0.beta1 lib/wupee.rb