Skip to content

Instantly share code, notes, and snippets.

@zsan
Created April 5, 2010 16:04
Show Gist options
  • Save zsan/356514 to your computer and use it in GitHub Desktop.
Save zsan/356514 to your computer and use it in GitHub Desktop.
def rating
url_path = '/rating';# + id
header "Accept", "text/xml"
visit(
@url + url_path,
:post
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment