Class: Gruf::Commander::Command
- Inherits:
-
Object
- Object
- Gruf::Commander::Command
- Defined in:
- lib/gruf/commander/command.rb
Overview
Abstract class to be extended and implemented in your command classes.
Instance Method Summary collapse
-
#call(request) ⇒ Object
:nocov:.
Instance Method Details
#call(request) ⇒ Object
:nocov:
28 29 30 |
# File 'lib/gruf/commander/command.rb', line 28 def call(request) raise NotImplementedError, "Please implement :call on the command to handle #{request.class}" end |