jufemaiz/pipedrive-ruby — pull request #1 by Meekohi (2014-03-17 17:11:44+00:00)
Title: Deals from Person

Get the set of deals associated with a Person
```ruby
# Winning a deal based on person's e-mail address
peopleResults = Pipedrive::Person.find_by_name(current_user.email);
dealResults = peopleResults[0].deals
deal = dealResults[0]
deal.update({"status"=>"won"})
```