deliveroo/routemaster-drain

View on GitHub
lib/routemaster/jobs/cache.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'routemaster/cache'

module Routemaster
  module Jobs
    # Caches a URL using {Cache}.
    class Cache
      def perform(url)
        Routemaster::Cache.new.get(url)
      end
    end
  end
end