Class: Mengpaneel::Strategy::AsyncServerSide
- Defined in:
- lib/mengpaneel/strategy/async_server_side.rb
Defined Under Namespace
Classes: Worker
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mengpaneel::Strategy::Base
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/mengpaneel/strategy/async_server_side.rb', line 7 def run return false unless self.class.async? return true if all_calls[:tracking].blank? Worker.perform_async(all_calls, controller.try(:request).try(:remote_ip)) true end |