Update client.rb

allow empty result