Class: PUNK::ExpireSessionsWorker

Inherits:
Worker show all
Defined in:
lib/punk/workers/expire_sessions.rb

Instance Attribute Summary

Attributes included from Validatable

#errors

Instance Method Summary collapse

Methods inherited from Worker

#perform, perform_now

Methods inherited from Runnable

args, #method_missing, #respond_to_missing?

Methods included from Validatable

#default_validation_helpers_options, #get_column_value, #valid?, #validate, #validates_not_empty

Methods included from Plugins::Validation::InstanceMethods

#validates_email, #validates_event, #validates_phone, #validates_state, #validates_url

Methods inherited from Settings

#method_missing, #respond_to_missing?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PUNK::Runnable

Instance Method Details

#processObject



5
6
7
# File 'lib/punk/workers/expire_sessions.rb', line 5

def process
  Session.expiring.each(&:timeout?)
end