lib/hackers.rb
##
# Collects bonus:
#   id = Bonus ID
#
# Returns the string "ok" if the request is successful
Collects bonus:
id = Bonus ID

Returns the string "ok" if the request is successful
Collects bonus : id = Bonus ID Returns the string " ok " if the request is successful
def cmdBonusCollect(id)
        params = {
          "bonus_collect" => 1,
          "id"            => id,
          "app_version"   => @config["version"],
        }
        response = @client.request(params, @sid)
        return response
      end
def cmdBonusCollect ( id ) params = { "bonus_collect" => 1 , "id" => id , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid ) return response end
Collects bonus:
id = Bonus ID
Collects bonus : id = Bonus ID
id