Sha256: 6b73571bd1834b2645f746b77360c6da64e43bc2c2da53cc6984ba07dc989a18
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
require 'clockwork' require 'observed' require "observed/clockwork/version" require "observed/application" module Observed module Clockwork extend self def register_observed_handler(args) Observed.init! Observed.configure args Observed.load! args[:config_file] ::Clockwork.handler do |job| Observed.run job end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
observed-0.1.1 | integrations/observed-clockwork/lib/observed/clockwork.rb |
observed-clockwork-0.1.0 | lib/observed/clockwork.rb |