Sha256: 1d52685372ab5c555653ff89de304005e666741e6bb0558ae364af85d6b5f984

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 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
      ::Clockwork.handler do |job|
        Observed.run job
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
observed-clockwork-0.2.0 lib/observed/clockwork.rb
observed-0.2.0 integrations/observed-clockwork/lib/observed/clockwork.rb
observed-0.2.0.rc2 integrations/observed-clockwork/lib/observed/clockwork.rb
observed-0.2.0.rc1 integrations/observed-clockwork/lib/observed/clockwork.rb