Class: NexusCqrs::BaseQueryHandler
- Inherits:
-
Object
- Object
- NexusCqrs::BaseQueryHandler
- Includes:
- Auth
- Defined in:
- lib/nexus_cqrs/base_query_handler.rb
Overview
Base class for all query handlers. Should always declare a ‘call` method for invoking the handler.
Instance Method Summary collapse
-
#call(query) ⇒ Object
Method for invoking this handler - all query logic should be contained in this method.
Methods included from Auth
#authorize, #current_user, #permission_provider, #pundit_user
Instance Method Details
#call(query) ⇒ Object
Method for invoking this handler - all query logic should be contained in this method.
12 13 |
# File 'lib/nexus_cqrs/base_query_handler.rb', line 12 def call(query) end |