# File lib/cheat.rb, line 172 def post_sheet(title, body, new = false) uri = "http://#{cheat_uri}/w/" uri += title unless new Net::HTTP.post_form(URI.parse(uri), "sheet_title" => title, "sheet_body" => body.strip, "from_gem" => true) end