Module: QuickUtils::Job::InstanceMethods

Defined in:
lib/quick_utils/job.rb

Instance Method Summary collapse

Instance Method Details

#is_processing?Boolean



41
42
43
# File 'lib/quick_utils/job.rb', line 41

def is_processing?
  self.ip == true
end

#processing!Object



45
46
47
48
# File 'lib/quick_utils/job.rb', line 45

def processing!
  self.ip = true
  self.save
end