From 97cd2ca21b13c0a89ad333bb87f2d48612e9de72 Mon Sep 17 00:00:00 2001 From: Greg Retkowski Date: Tue, 18 Mar 2014 11:53:28 -0700 Subject: [PATCH] Fix CloudFlare.connection to pass in email address CloudFlare.connection would nil out the email address, even if it was passed in. This commit fixes that behavior. --- lib/cloudflare.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cloudflare.rb b/lib/cloudflare.rb index f313352..0c269af 100644 --- a/lib/cloudflare.rb +++ b/lib/cloudflare.rb @@ -22,6 +22,6 @@ module CloudFlare def self.connection(api_key, email = nil) - Connection.new(api_key, email = nil) + Connection.new(api_key, email) end end