Class: Pragma::Operation::Show
- Inherits:
-
Base
- Object
- Base
- Pragma::Operation::Show
- Defined in:
- lib/pragma/operation/show.rb
Overview
Finds the requested record, authorizes it and decorates it.
Instance Method Summary collapse
Instance Method Details
#respond!(options) ⇒ Object
15 16 17 |
# File 'lib/pragma/operation/show.rb', line 15 def respond!() ['result.response'] = Response::Ok.new(entity: ['result.decorator.instance']) end |