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