Module: Notificate

Extended by:
Configuration
Defined in:
lib/notificate.rb,
lib/notificate.rb,
lib/notificate-rails/version.rb

Defined Under Namespace

Modules: Configuration, ExceptionCatcher, Rails Classes: Notice, ObjectifiedHash

Instance Attribute Summary

Attributes included from Configuration

#options

Class Method Summary collapse

Methods included from Configuration

configure, request_path

Class Method Details

.notice(message) ⇒ Object



14
15
16
17
18
# File 'lib/notificate.rb', line 14

def self.notice(message)
  payload = { body: { payload: { message: message } }.to_json }

  Notice.new(payload, :application)
end