daviddaviddavid/noisebridge-baron — pull request #1 by dannyob (2012-04-21 05:23:47+00:00)
Title: Patch to use the API instead of talking to gate directly.

I think it's a good idea to keep the code that opens the door in one place only -- in the API. That way we only have one copy of it to debug, and also if it changes, we can fix it without worrying about breaking lots of other things.

Anyway, I thought I'd try and recode baron a little to use the API rather than directly poke the gate. Hope this is useful! It was fun playing around with the code!