Class: TrackerHub::Request::Notification::HipChat
- Inherits:
-
Object
- Object
- TrackerHub::Request::Notification::HipChat
- Defined in:
- lib/tracker_hub/request/notification/hip_chat.rb
Overview
Service to send notifications to when an error occured during the log process
Constant Summary collapse
- API_VERSION =
HipChat API version to call by default
'v2'.freeze
Instance Method Summary collapse
-
#send_message(msg, args = {}) ⇒ Boolean
Send a notification message.
Instance Method Details
#send_message(msg, args = {}) ⇒ Boolean
Send a notification message
21 22 23 |
# File 'lib/tracker_hub/request/notification/hip_chat.rb', line 21 def (msg, args = {}) client[room].send(username, msg, .merge(args)) end |