lib/hackers.rb
##
# Finishes program upgrade:
#   id = Program ID
#
# Returns the string "ok" if the request is successful
Finishes program upgrade:
id = Program ID

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