Sha256: 992d912d60b04386f89b3e8fb30c2919be6187529df1b0a6c58d604d4a75b7ed

Contents?: true

Size: 670 Bytes

Versions: 21

Compression:

Stored size: 670 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

  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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
no_notifier_needed-2.4.5 lib/no_notifier_needed.rb
no_notifier_needed-2.4.4 lib/no_notifier_needed.rb
no_notifier_needed-2.4.3 lib/no_notifier_needed.rb
no_notifier_needed-2.4.2 lib/no_notifier_needed.rb
no_notifier_needed-2.4.1 lib/no_notifier_needed.rb
no_notifier_needed-2.4.0 lib/no_notifier_needed.rb
no_notifier_needed-2.3.8 lib/no_notifier_needed.rb
no_notifier_needed-2.3.7 lib/no_notifier_needed.rb
no_notifier_needed-2.3.6 lib/no_notifier_needed.rb
no_notifier_needed-2.3.5 lib/no_notifier_needed.rb
no_notifier_needed-2.3.4 lib/no_notifier_needed.rb
no_notifier_needed-2.3.3 lib/no_notifier_needed.rb
no_notifier_needed-2.3.2 lib/no_notifier_needed.rb
no_notifier_needed-2.3.1 lib/no_notifier_needed.rb
no_notifier_needed-2.3.0 lib/no_notifier_needed.rb
no_notifier_needed-2.2.4 lib/no_notifier_needed.rb
no_notifier_needed-2.2.3 lib/no_notifier_needed.rb
no_notifier_needed-2.2.2 lib/no_notifier_needed.rb
no_notifier_needed-2.2.1 lib/no_notifier_needed.rb
no_notifier_needed-2.2.0 lib/no_notifier_needed.rb