lib/hackers.rb
def cmdUpgradeProgram(id)
        params = {
          "upgrade_program" => 1,
          "id"              => id,
          "app_version"     => @config["version"],
        }
        response = @client.request(params, @sid)
        return response
      end
##
# Upgrades program:
#   id = Program ID
#
# Returns the string "ok" if the request is successful
Upgrades program:
id = Program ID

Returns the string "ok" if the request is successful
Upgrades program : id = Program ID Returns the string " ok " if the request is successful
def cmdUpgradeProgram(id)
        params = {
          "upgrade_program" => 1,
          "id"              => id,
          "app_version"     => @config["version"],
        }
        response = @client.request(params, @sid)
        return response
      end
def cmdUpgradeProgram ( id ) params = { "upgrade_program" => 1 , "id" => id , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid ) return response end
Upgrades program:
id = Program ID
Upgrades program : id = Program ID
id