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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

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

dependencias de Development (5):

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

Propietarios:

Autores:

  • Alex Agranov

SHA 256 checksum:

= Copiar al portapapeles ¡Copiado!

Total de descargas 7.154

Para esta versión 4.089

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: