Class: Lacquer::DelayedJobJob

Inherits:
Struct
  • Object
show all
Defined in:
lib/lacquer/delayed_job_job.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



2
3
4
# File 'lib/lacquer/delayed_job_job.rb', line 2

def url
  @url
end

Instance Method Details

#performObject



3
4
5
# File 'lib/lacquer/delayed_job_job.rb', line 3

def perform
  Varnish.new.purge(url)
end