Update client.rb

adding relationship support