Sha256: 951596c62d9213f9dd0ce231626204729e8f994afe6f21730c4313d61b5d61d8
Contents?: true
Size: 611 Bytes
Versions: 4
Compression:
Stored size: 611 Bytes
Contents
require 'prowl' module CampfireBot module AbsenteeCamper module Notification class ProwlNotifier include Config include Helpers def initialize(room, api_key) @api_key = api_key @room = room end def notify(message) Logger.instance.debug "sending prowl notification" Prowl.add(:apikey => @api_key, :application => 'Campfire', :event => @room.name, :description => message, :url => room_uri(@room)) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems