Sha256: 51dd1a3da84977677eea853b018f5c955a5b4571baef5b87814bde5263c6f5ac

Contents?: true

Size: 788 Bytes

Versions: 15

Compression:

Stored size: 788 Bytes

Contents

require 'no_notifier_needed/send'
require 'no_notifier_needed/translate'
require 'no_notifier_needed/render'
require 'no_notifier_needed/sender'
require "no_notifier_needed/url_helper"
require 'no_notifier_needed/config'
require 'no_notifier_needed/railtie'

module NoNotifierNeeded
  extend Config
  extend Send
#  include Render
#  include Translate
#  include Sender

  def self.sender(options={})
    NoNotifierNeeded::Sender.new(options)
  end

  def self.configure
    yield self
  end

  def self.method_missing(method, *args, &block)
    return super unless sender.respond_to?(method)
    sender.send(method, *args, &block)
  end

  def self.respond_to?(method)
    return sender.respond_to?(method) || super
  end
end

#require 'no_notifier_needed/railtie.rb' if defined?(Rails)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
no_notifier_needed-2.0.17 lib/no_notifier_needed.rb
no_notifier_needed-2.0.16 lib/no_notifier_needed.rb
no_notifier_needed-2.0.15 lib/no_notifier_needed.rb
no_notifier_needed-2.0.14 lib/no_notifier_needed.rb
no_notifier_needed-2.0.13 lib/no_notifier_needed.rb
no_notifier_needed-2.0.12 lib/no_notifier_needed.rb
no_notifier_needed-2.0.11 lib/no_notifier_needed.rb
no_notifier_needed-2.0.9 lib/no_notifier_needed.rb
no_notifier_needed-2.0.8 lib/no_notifier_needed.rb
no_notifier_needed-2.0.4 lib/no_notifier_needed.rb
no_notifier_needed-2.0.3 lib/no_notifier_needed.rb
no_notifier_needed-2.0.2 lib/no_notifier_needed.rb
no_notifier_needed-2.0.1 lib/no_notifier_needed.rb
no_notifier_needed-2.0.0 lib/no_notifier_needed.rb
no_notifier_needed-1.0.0 lib/no_notifier_needed.rb