Sha256: 4ccfaea73e28fcbb3568735fc62adc75d5db8ddbdae7dd296c0278dd99642360
Contents?: true
Size: 326 Bytes
Versions: 8
Compression:
Stored size: 326 Bytes
Contents
# Database event model class ClockworkDatabaseEvent < Sequel::Model many_to_one :frequency_period # Used by clockwork to schedule how frequently this event should be run # Should be the intended number of seconds between executions def frequency frequency_quantity.send(frequency_period.name.pluralize) end end
Version data entries
8 entries across 8 versions & 1 rubygems