Class: Pragma::Operation::Update
- Inherits:
-
Base
- Object
- Base
- Pragma::Operation::Update
- Defined in:
- lib/pragma/operation/update.rb
Overview
Finds an existing record, updates it and responds with the decorated record.
Instance Method Summary collapse
Instance Method Details
#respond!(options) ⇒ Object
18 19 20 |
# File 'lib/pragma/operation/update.rb', line 18 def respond!() ['result.response'] = Response::Ok.new(entity: ['result.decorator.instance']) end |