From 93c2cd91cd013a44ef0ec1455888c45cf6c495e7 Mon Sep 17 00:00:00 2001 From: Joel Courtney Date: Fri, 31 Jan 2014 09:44:02 +1100 Subject: [PATCH] Notes reference --- lib/pipedrive/deal.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pipedrive/deal.rb b/lib/pipedrive/deal.rb index 8ad1cc2..8993495 100644 --- a/lib/pipedrive/deal.rb +++ b/lib/pipedrive/deal.rb @@ -24,6 +24,7 @@ def files end def notes(opts = {:sort_by => 'add_time', :sort_mode => 'desc'}) + puts opts.merge(:deal_id => id) Note.all(get("/notes", opts.merge(:deal_id => id))) end