Class: Mengpaneel::Strategy::Delayed

Inherits:
Base
  • Object
show all
Defined in:
lib/mengpaneel/strategy/delayed.rb

Instance Attribute Summary

Attributes inherited from Base

#all_calls, #controller

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Mengpaneel::Strategy::Base

Instance Method Details

#runObject


7
8
9
10
11
12
13
14
# File 'lib/mengpaneel/strategy/delayed.rb', line 7

def run
  return false unless controller
  return false unless redirect?

  Delayer.new(controller).save(all_calls)

  true
end