class Gemometer::Notifiers::Hipchat

Public Class Methods

mandatory_options() click to toggle source
# File lib/gemometer/notifiers/hipchat.rb, line 11
def self.mandatory_options
  [:url]
end

Public Instance Methods

message() click to toggle source
# 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

Private Instance Methods

data() click to toggle source
# File lib/gemometer/notifiers/hipchat.rb, line 17
def data
  { message: message }
end