Module: Grape::CacheControl::Helpers
- Defined in:
- lib/grape/cache_control/helpers.rb
Instance Method Summary collapse
Instance Method Details
#cache_control(*args) ⇒ Object
4 5 6 |
# File 'lib/grape/cache_control/helpers.rb', line 4 def cache_control(*args) Grape::CacheControl.cache_control(self, *args) end |
#expires(amount, *values) ⇒ Object
8 9 10 |
# File 'lib/grape/cache_control/helpers.rb', line 8 def expires(amount, *values) Grape::CacheControl.expires(self, amount, *values) end |