From 7101652c48d9e0b5ddb22438dde7457e0616302a Mon Sep 17 00:00:00 2001 From: Adam Beck Date: Thu, 16 Feb 2017 11:05:48 +1100 Subject: [PATCH] set api_key to empty string --- lib/sendgrid/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sendgrid/client.rb b/lib/sendgrid/client.rb index 1cce5f65..7e4d0991 100644 --- a/lib/sendgrid/client.rb +++ b/lib/sendgrid/client.rb @@ -14,7 +14,7 @@ class API # - +version+ -> the version of the API you wish to access, # currently only "v3" is supported # - def initialize(api_key: nil, host: nil, request_headers: nil, version: nil) + def initialize(api_key: '', host: nil, request_headers: nil, version: nil) @api_key = api_key @host = host ? host : 'https://api.sendgrid.com' @version = version ? version : 'v3'