module CampfireChat::Checks
Public Class Methods
checks()
click to toggle source
# File lib/campfire_chat/checks.rb, line 7 def self.checks @checks ||= [] end
extended(base)
click to toggle source
# File lib/campfire_chat/checks.rb, line 3 def self.extended(base) checks << base end
process(notification)
click to toggle source
# File lib/campfire_chat/checks.rb, line 11 def self.process(notification) checks.each do |check| check.process_notification(notification) end end