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