diff --git a/lib/pipedrive/base.rb b/lib/pipedrive/base.rb index 9a0adb0..f5e516d 100644 --- a/lib/pipedrive/base.rb +++ b/lib/pipedrive/base.rb @@ -16,7 +16,7 @@ class Base < OpenStruct include HTTParty - base_uri 'api.pipedrive.com/v1' + base_uri 'https://api.pipedrive.com/v1' headers HEADERS format :json @@ -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