Last active
December 11, 2015 16:18
-
-
Save rastasheep/4626539 to your computer and use it in GitHub Desktop.
Get app Info API
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
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