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:
= 複製 已複製

安裝:
=

版本列表:

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

Development 相依性套件 (5):

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

擁有者:

作者:

  • Alex Agranov

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 7,156

這個版本 4,090

授權:

Ruby 版本需求:

相關連結: