Module: AppManager::Actions::ClassMethods
- Defined in:
- lib/app_manager/actions.rb
Instance Method Summary collapse
Instance Method Details
#cache_response_for(*actions) ⇒ Object
5 6 7 8 9 |
# File 'lib/app_manager/actions.rb', line 5 def cache_response_for(*actions) = actions. = .extract!(:if, :unless).merge(only: actions) around_action ApiCacheHandler.new(), end |