Class: Sbire::Notifier

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

Class Method Summary collapse

Class Method Details

.call(message) ⇒ Object



3
4
5
6
# File 'lib/sbire/notifier.rb', line 3

def self.call(message)
  command = SbireConfig.notify_command % { message: message }
  system(command)
end