From be8cf1304baab917faa893741ca74dc4a8f6533b Mon Sep 17 00:00:00 2001 From: Anne Orfert Date: Mon, 20 Jul 2015 12:21:57 +0200 Subject: [PATCH] use options for bad_response-method and not attr reason: NameError: undefined local variable or method `attrs` --- lib/pipedrive/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pipedrive/base.rb b/lib/pipedrive/base.rb index 9a0adb0..0b1b0ed 100644 --- a/lib/pipedrive/base.rb +++ b/lib/pipedrive/base.rb @@ -94,7 +94,7 @@ def all(response = nil, options={},get_absolutely_all=false) end data else - bad_response(res,attrs) + bad_response(res, options) end end