Class: Routemaster::Jobs::Cache
- Inherits:
-
Object
- Object
- Routemaster::Jobs::Cache
- Defined in:
- lib/routemaster/jobs/cache.rb
Overview
Caches a URL using Cache.
Instance Method Summary collapse
Instance Method Details
#perform(url) ⇒ Object
7 8 9 |
# File 'lib/routemaster/jobs/cache.rb', line 7 def perform(url) Routemaster::Cache.new.get(url) end |