Skip to content

Instantly share code, notes, and snippets.

@will
Created July 9, 2009 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save will/143969 to your computer and use it in GitHub Desktop.
Save will/143969 to your computer and use it in GitHub Desktop.
module Integrity
class Notifier
class Arduino < Notifier::Base
def self.to_haml
""
end
def deliver!
if build.failed?
Arduino.send "r"
else
Arduino.send "g"
end
end
end
register Arduino
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment