Update client.rb

not ran in an irb shell, edited using GitHub's editor, yikes