Module: Recoil

Defined in:
lib/recoil.rb,
lib/recoil/email.rb,
lib/recoil/engine.rb,
lib/recoil/message.rb,
lib/recoil/version.rb,
lib/recoil/interceptor.rb,
app/models/recoil/bounce.rb,
lib/recoil/message/abstract.rb,
lib/recoil/message/notification.rb,
lib/recoil/message/unsubscribe_confirmation.rb,
lib/recoil/message/subscription_confirmation.rb,
app/controllers/recoil/notifications_controller.rb

Defined Under Namespace

Modules: Message Classes: Bounce, Email, Engine, Interceptor, NotificationsController

Constant Summary

VERSION =
'0.1.0'
@@blacklist_threshold =
->(scope) { scope.where('created_at > ?', 2.weeks.ago).count > 10 }

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Recoil)

    the object that the method was called on



10
11
12
# File 'lib/recoil.rb', line 10

def self.setup
  yield self
end