Created
July 9, 2009 20:26
-
-
Save will/143969 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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