class Pragma::Operation::Show
Finds the requested record, authorizes it and decorates it.
@author Alessandro Desantis
Public Instance Methods
respond!(options)
click to toggle source
# File lib/pragma/operation/show.rb, line 15 def respond!(options) options['result.response'] = Response::Ok.new(entity: options['result.decorator.instance']) end