RubyGems Navigation menu

simple-notifier 0.1.1

Inspired by ActionMailer, Notifier offers Notifier::Base, a base class for creating notification handlers on any class or instance of a class. Simply define a method in your handler named after the type of object you would like to create notification events for, substituting any namespace "::" delineation with "_", along with a signature that allows for the object as the first parameter and an optional params hash. Then notify on that object or class by simply calling MyHandler.notify!(myclass, params).

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.1 - February 11, 2011 (9.5 KB)
  2. 0.1.0 - February 11, 2011 (9.5 KB)

Development Dependencies (5):

actionmailer ~> 2.0
bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0
shoulda >= 0

Owners:

Authors:

  • Alex Agranov

SHA 256 checksum:

fa2aa5386d8a9053c768700acffb04119436719c5b5b94bd754e7e5954204d86

Total downloads 7,071

For this version 4,044

Licenses:

N/A

Required Ruby Version: None

Links: