class FollowUser

Public Instance Methods

follow_user(userid , scraper) click to toggle source
# File lib/helper/follow_user.rb, line 2
def follow_user userid , scraper 
  begin  
    scraper.get("#{@follow_user_url}#{userid}")
    return {"response" => "Success"}
  rescue
    return {"response" => "Failure"}
  end
end