Created
October 2, 2014 20:51
-
-
Save gdanko/31e679b8abfe96ed01b0 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/ruby | |
require "hipchat" | |
require "pp" | |
hc = HipChat.new({ | |
"token" => "MYTOKEN" | |
}) | |
hc.debug("on") | |
hc.room_members({"room_name" => "Chef"}) | |
if (hc.success) | |
pp hc.output | |
puts hc.count | |
else | |
puts hc.errors | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment