Class: Backup::Configuration::Notifier::Hipchat

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/notifier/hipchat.rb

Class Attribute Summary collapse

Method Summary

Methods inherited from Base

defaults

Methods included from Helpers

#clear_defaults!, #load_defaults!

Class Attribute Details

.failure_colorObject

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

.fromObject

From Name that appears in Hipchat



11
12
13
# File 'lib/backup/configuration/notifier/hipchat.rb', line 11

def from
  @from
end

.notify_usersObject

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_notifiedObject

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_colorObject

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

.tokenObject

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_colorObject

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