Class: Spanx::Notifier::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/spanx/notifier/base.rb

Direct Known Subclasses

AuditLog, Campfire, Email, Slack

Instance Method Summary collapse

Instance Method Details

#publish(blocked_ip) ⇒ Object

Takes an instance of the Spanx::BlockedIp struct. Overwrite this a subclass to define real behavior



7
8
9
# File 'lib/spanx/notifier/base.rb', line 7

def publish(blocked_ip)
  raise 'Abstract Method Not Implemented'
end