Backup::Notifier::Base
The background color of an error message. One of :yellow, :red, :green, :purple, or :random. (default: yellow)
Who the notification should appear from
Notify users in the room
The rooms that should be notified
The background color of a success message. One of :yellow, :red, :green, :purple, or :random. (default: yellow)
The Hipchat API token
The background color of a warning message. One of :yellow, :red, :green, :purple, or :random. (default: yellow)
# File lib/backup/notifier/hipchat.rb, line 38 def initialize(model, &block) super instance_eval(&block) if block_given? @notify_users ||= false @rooms_notified ||= [] @success_color ||= 'yellow' @warning_color ||= 'yellow' @failure_color ||= 'yellow' end
[Validate]
Generated with the Darkfish Rdoc Generator 2.