Skip to content

Instantly share code, notes, and snippets.

@paul
Created January 21, 2009 18:04
Show Gist options
  • Select an option

  • Save paul/50081 to your computer and use it in GitHub Desktop.

Select an option

Save paul/50081 to your computer and use it in GitHub Desktop.
@http.resource.post('/foo') do |r|
r.content_type = 'app/xml'
r.accept = 'app.xml'
r.body = "<my_elem />"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment