Skip to content

Instantly share code, notes, and snippets.

@vieron
Created October 7, 2010 17:41
Show Gist options
  • Save vieron/615514 to your computer and use it in GitHub Desktop.
Save vieron/615514 to your computer and use it in GitHub Desktop.
prueba
response = Net::HTTP.post_form(URI.parse('http://gist.github.com/api/v1/xml/new'), {
"files[#{name}]" => contents,
"description" => description,
"login" => login,
"token" => token
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment