Method: SimpleService::ClassMethods#command

Defined in:
lib/simple_service.rb

#command(command_name) ⇒ Object



32
33
34
35
# File 'lib/simple_service.rb', line 32

def command(command_name)
  @commands ||= []
  @commands << command_name
end