Module: Thincloud::Resque::Resqueable

Extended by:
ActiveSupport::Concern
Defined in:
lib/thincloud/resque/resqueable.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#async(method, *args) ⇒ Object



18
19
20
# File 'lib/thincloud/resque/resqueable.rb', line 18

def async(method, *args)
  Resque.enqueue(self.class, id, method, *args)
end