Closed mutle closed 11 years ago
client.users.search(email: "jlane@engineyard.com") => [#<Zendesk2::Client::User:0x7f83a3b7a5b0 attributes={url:"https://engineyarddev.zendesk.com/api/v2/users/241222663.json",id:241222663,external_id:nil,name:"Josh Lane",alias:nil,created_at:2012-07-25 18:52:41 UTC,updated_at:2012-08-04 06:52:42 UTC,active:true,verified:true,shared:false,locale_id:nil,locale:"en-US",time_zone:"America/Los_Angeles",last_login_at:2012-08-04 06:52:42 UTC,email:"jlane@engineyard.com",phone:nil,signature:nil,details:"{}",notes:nil,organization_id:22038176,role:"end-user",custom_role_id:nil,moderator:false,ticket_restriction:"requested",only_private_comments:false,tags:[],suspended:false,photo:nil}>]
all collections have the #search function available
#search