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

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



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

def command
  @command
end

Instance Method Details

#performObject



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

def perform
  Varnish.new.purge(command)
end