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!

instalar:
=

Versões:

  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

Donos:

Autores:

  • Alex Agranov

SHA 256 checksum:

= Copy to clipboard Copied!

Total de downloads 7.156

Desta versão 4.090

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: