Skip to content

Instantly share code, notes, and snippets.

@rastasheep
Last active December 11, 2015 16:18
Show Gist options
  • Save rastasheep/4626539 to your computer and use it in GitHub Desktop.
Save rastasheep/4626539 to your computer and use it in GitHub Desktop.
Get app Info API
require 'httpclient'
c = HTTPClient.new
c.set_auth("https://api.heroku.com/apps/:name", ":user", ":password")
p c.get("https://api.heroku.com/apps/:name")
#Test commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment