Module: KannelRails::Handlers

Defined in:
lib/kannel_rails/handlers.rb

Defined Under Namespace

Classes: Base

Class Method Summary collapse

Class Method Details

.each(&block) ⇒ Object



9
10
11
# File 'lib/kannel_rails/handlers.rb', line 9

def self.each(&block)
  @handlers.each(&block)
end

.register(handler_class) ⇒ Object



5
6
7
# File 'lib/kannel_rails/handlers.rb', line 5

def self.register(handler_class)
  @handlers << handler_class
end