Class: Gemometer::Notifiers::Hipchat
- Inherits:
-
Base
- Object
- Base
- Gemometer::Notifiers::Hipchat
show all
- Defined in:
- lib/gemometer/notifiers/hipchat.rb
Instance Attribute Summary
Attributes inherited from Base
#gems, #key, #url, #username
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #notify
Class Method Details
.mandatory_options ⇒ Object
11
12
13
|
# File 'lib/gemometer/notifiers/hipchat.rb', line 11
def self.mandatory_options
[:url]
end
|
Instance Method Details
#message ⇒ Object
5
6
7
8
9
|
# File 'lib/gemometer/notifiers/hipchat.rb', line 5
def message
msg = '<p>Outdated gems:</p><ul>'
gems.each { |g| msg += "<li>#{ruby_gems_link(g.name)} #{g.message_line}</li>" }
msg += '</ul>'
end
|