class Fett::BuildStatusColorHandler

Public Class Methods

color(status) click to toggle source
# File lib/fett/build_status_color_handler.rb, line 3
def self.color(status)
  if status == "success"
    color = "#36a64f"
  elsif status == "failure"
    color = "#d00000"
  elsif status == "pending"
    color = "#ffcc66"
  end
end