Class: ClockworkDatabaseEvent
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- ClockworkDatabaseEvent
- Defined in:
- lib/clockwork_database_events/models/clockwork_database_event.rb
Overview
Database event model
Instance Method Summary collapse
-
#frequency ⇒ Object
Used by clockwork to schedule how frequently this event should be run Should be the intended number of seconds between executions.
Instance Method Details
#frequency ⇒ Object
Used by clockwork to schedule how frequently this event should be run Should be the intended number of seconds between executions
7 8 9 |
# File 'lib/clockwork_database_events/models/clockwork_database_event.rb', line 7 def frequency frequency_quantity.send(frequency_period.name.pluralize) end |