Skip to content

Commit

Permalink
Merge pull request #148 from Gwash3189/gwash3189/set_default_api_key_…
Browse files Browse the repository at this point in the history
…to_empty_string

set api_key to empty string
  • Loading branch information
thinkingserious authored Apr 11, 2017
2 parents 59484d9 + 7101652 commit b407aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sendgrid/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit b407aec

Please sign in to comment.