Method: SimpleService::ClassMethods#command

Defined in:
lib/simple_service.rb

#command(command_name) ⇒ Object



22
23
24
25
# File 'lib/simple_service.rb', line 22

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