Class: Guard::Codeception::Notifier

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/codeception/notifier.rb

Constant Summary collapse

TITLE =
'Codeception Results'

Instance Method Summary collapse

Instance Method Details

#notify(results) ⇒ Object



7
8
9
10
11
# File 'lib/guard/codeception/notifier.rb', line 7

def notify(results)
  image     = _image(results)
  message   = _message(results)
  ::Guard::Notifier::notify(message, {title: TITLE, image: image})
end