Created
June 2, 2014 01:16
-
-
Save seansu4you87/48fac461e6360891634e to your computer and use it in GitHub Desktop.
Hack for Robyn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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