Class: Ductr::SequelBase::PollingTrigger
- Inherits:
-
RufusTrigger
- Object
- Trigger
- RufusTrigger
- Ductr::SequelBase::PollingTrigger
- Defined in:
- lib/ductr/sequel_base/polling_trigger.rb
Overview
A trigger based on the RufusTrigger, runs the PollingHandler at the given timing.
Instance Attribute Summary
Attributes inherited from Trigger
Instance Method Summary collapse
-
#stop ⇒ void
Closes the connection if the scheduler is stopped.
Methods inherited from RufusTrigger
Methods inherited from Trigger
Constructor Details
This class inherits a constructor from Ductr::Trigger
Instance Method Details
#stop ⇒ void
This method returns an undefined value.
Closes the connection if the scheduler is stopped.
14 15 16 17 |
# File 'lib/ductr/sequel_base/polling_trigger.rb', line 14 def stop super adapter.close! end |