Skip to content

Instantly share code, notes, and snippets.

@seansu4you87
Created June 2, 2014 01:16
Show Gist options
  • Save seansu4you87/48fac461e6360891634e to your computer and use it in GitHub Desktop.
Save seansu4you87/48fac461e6360891634e to your computer and use it in GitHub Desktop.
Hack for Robyn
require 'httparty'
URL = "http://ci.uky.edu/dev/venture-challenge/api/venture/upvote"
def upvote_robyn
response = HTTParty.post URL, { body: {:id => 11} }
puts response
end
while true
time = rand(600) + 20
puts "waiting #{time}"
upvote_robyn
sleep time
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment