Sha256: bfc68dbcd30c30c9a494eb0af2580da471471dd794005afbf80cf9eb421bbd69

Contents?: true

Size: 323 Bytes

Versions: 29

Compression:

Stored size: 323 Bytes

Contents

# Notify example

Eye.config do
  mail :host => "mx.some.host", :port => 25, :domain => "some.host"
  contact :errors, :mail, 'error@some.host'
  contact :dev, :mail, 'dev@some.host'
end

Eye.application :some do
  notify :errors

  process :some_process do
    notify :dev, :info
    pid_file "1.pid"

    #...
  end

end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
reel-eye-0.5 examples/notify.eye
eye-0.5 examples/notify.eye
eye-0.4.2 examples/notify.eye
reel-eye-0.4.1 examples/notify.eye
eye-0.4.1 examples/notify.eye
reel-eye-0.4 examples/notify.eye
eye-0.4 examples/notify.eye
reel-eye-0.3.2 examples/notify.eye
eye-0.3.2 examples/notify.eye