Class: Backup::Configuration::Notifier::Hipchat
- Defined in:
- lib/backup/configuration/notifier/hipchat.rb
Class Attribute Summary collapse
-
.failure_color ⇒ Object
Failure Color The background color of an error message.
-
.from ⇒ Object
From Name that appears in Hipchat.
-
.notify_users ⇒ Object
Notify Users (bool) Notify users in the room.
-
.rooms_notified ⇒ Object
Rooms Rooms that you want to post notifications to.
-
.success_color ⇒ Object
Success Color The background color of a success message.
-
.token ⇒ Object
Hipchat API Token The token to interact with Hipchat.
-
.warning_color ⇒ Object
Warning Color The background color of a success message.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.failure_color ⇒ Object
Failure Color The background color of an error message. One of :yellow, :red, :green, :purple, or :random. (default: yellow)
31 32 33 |
# File 'lib/backup/configuration/notifier/hipchat.rb', line 31 def failure_color @failure_color end |
.from ⇒ Object
From Name that appears in Hipchat
11 12 13 |
# File 'lib/backup/configuration/notifier/hipchat.rb', line 11 def from @from end |
.notify_users ⇒ Object
Notify Users (bool) Notify users in the room
35 36 37 |
# File 'lib/backup/configuration/notifier/hipchat.rb', line 35 def notify_users @notify_users end |
.rooms_notified ⇒ Object
Rooms Rooms that you want to post notifications to
19 20 21 |
# File 'lib/backup/configuration/notifier/hipchat.rb', line 19 def rooms_notified @rooms_notified end |
.success_color ⇒ Object
Success Color The background color of a success message. One of :yellow, :red, :green, :purple, or :random. (default: yellow)
23 24 25 |
# File 'lib/backup/configuration/notifier/hipchat.rb', line 23 def success_color @success_color end |
.token ⇒ Object
Hipchat API Token The token to interact with Hipchat
15 16 17 |
# File 'lib/backup/configuration/notifier/hipchat.rb', line 15 def token @token end |
.warning_color ⇒ Object
Warning Color The background color of a success message. One of :yellow, :red, :green, :purple, or :random. (default: yellow)
27 28 29 |
# File 'lib/backup/configuration/notifier/hipchat.rb', line 27 def warning_color @warning_color end |