class Superbolt::MessageHandler

Attributes

arguments[R]
logger[R]

Public Class Methods

new(arguments, logger=nil) click to toggle source
# File lib/superbolt/message_handler.rb, line 7
def initialize(arguments, logger=nil)
  @arguments = arguments
  @logger = logger
  parse_arguments
end

Public Instance Methods

parse_arguments() click to toggle source
# File lib/superbolt/message_handler.rb, line 13
def parse_arguments
  # override if you want to extract important stuff at initialize
end
perform() click to toggle source
# File lib/superbolt/message_handler.rb, line 17
def perform
  raise NotImplementedError
end