Skip to content

Instantly share code, notes, and snippets.

@gdanko
Created October 2, 2014 20:51
Show Gist options
  • Save gdanko/31e679b8abfe96ed01b0 to your computer and use it in GitHub Desktop.
Save gdanko/31e679b8abfe96ed01b0 to your computer and use it in GitHub Desktop.
#!/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