Class: Guard::Unity::Notifier::Alert

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

Instance Method Summary collapse

Instance Method Details

#notify(results, title) ⇒ Object



6
7
8
9
10
# File 'lib/guard/unity/notifier/alert.rb', line 6

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