Class: Junkfood::Ceb::BaseCommand

Inherits:
Object
  • Object
show all
Includes:
Bus, Mongoid::Document
Defined in:
lib/junkfood/ceb/base_command.rb

Overview

BaseCommand abstract class from which one defines and implements actual Commands to be run.

_id (id) _type created_at origin

Instance Method Summary collapse

Instance Method Details

#performObject

This method is abstract.

implement the actual handler logic to execute the command.



49
50
# File 'lib/junkfood/ceb/base_command.rb', line 49

def perform
end