Class: Exceptioner::Transport::Jabber

Inherits:
Base
  • Object
show all
Defined in:
lib/exceptioner/transport/jabber/jabber.rb

Class Method Summary collapse

Class Method Details

.deliver(options = {}) ⇒ Object



14
15
16
17
18
19
20
21
# File 'lib/exceptioner/transport/jabber/jabber.rb', line 14

def self.deliver(options = {})
  messages = prepare_messages(options)
  connect do |client|
    messages.each do |message|
      client.send(message)
    end
  end
end