Class: Triggerable::Conditions::After
- Inherits:
-
ScheduleCondition
- Object
- Condition
- FieldCondition
- ScheduleCondition
- Triggerable::Conditions::After
- Defined in:
- lib/triggerable/conditions/schedule/after.rb
Instance Method Summary collapse
Methods inherited from ScheduleCondition
#initialize, #scope, #true_for?
Methods inherited from FieldCondition
#desc, #initialize, #scope, #true_for?
Methods inherited from Condition
Constructor Details
This class inherits a constructor from Triggerable::Conditions::ScheduleCondition
Instance Method Details
#from ⇒ Object
4 5 6 |
# File 'lib/triggerable/conditions/schedule/after.rb', line 4 def from automation_time - @value - Triggerable::Engine.interval end |
#to ⇒ Object
8 9 10 |
# File 'lib/triggerable/conditions/schedule/after.rb', line 8 def to automation_time - @value end |