help to edit to run this program

in this script one parameter shows error client Please help to edit this program to run without problem
Error ->
`<main>': undefined local variable or method `client' for main:Object (NameError) what should we have to place instead of client to run without error