Sha256: 7027334d8ac768bb90eea06a5da09b63b3f09b2b4e91b047fe26c1abd296b6dd

Contents?: true

Size: 119 Bytes

Versions: 3

Compression:

Stored size: 119 Bytes

Contents

module Lacquer
  class DelayedJobJob < Struct.new(:url)
    def perform
      Varnish.new.purge(url)
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
hakon-lacquer-0.4.1 lib/lacquer/delayed_job_job.rb
lacquer-0.4.1 lib/lacquer/delayed_job_job.rb
lacquer-0.4.0 lib/lacquer/delayed_job_job.rb