Module: StillLife::ActionDispatchExtension
- Defined in:
- lib/still_life/action_dispatch_extension.rb
Instance Method Summary collapse
Instance Method Details
#delete ⇒ Object
29 30 31 32 33 |
# File 'lib/still_life/action_dispatch_extension.rb', line 29 def delete(*, **) super.tap do StillLife.draw(response.body) end end |
#get ⇒ Object
5 6 7 8 9 |
# File 'lib/still_life/action_dispatch_extension.rb', line 5 def get(*, **) super.tap do StillLife.draw(response.body) end end |
#patch ⇒ Object
23 24 25 26 27 |
# File 'lib/still_life/action_dispatch_extension.rb', line 23 def patch(*, **) super.tap do StillLife.draw(response.body) end end |