Skip to content

Commit cc06d41

Browse files
author
Matt Bernier
authored
Merge branch 'master' into master
2 parents a387226 + caf8eaf commit cc06d41

File tree

6 files changed

+21
-2
lines changed

6 files changed

+21
-2
lines changed

.codeclimate.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
engines:
3+
duplication:
4+
enabled: true
5+
config:
6+
languages:
7+
- javascript
8+
eslint:
9+
enabled: true
10+
fixme:
11+
enabled: true
12+
ratings:
13+
paths:
14+
- "**.js"
15+
exclude_paths:
16+
- test/**/*

.env_sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export SENDGRID_API_KEY=''

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
.DS_Store
33
npm-debug.log
4+
.env

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2016 SendGrid, Inc.
3+
Copyright (c) 2013-2017 SendGrid, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

TROUBLESHOOTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ or use it in your options for the transport (Nodemailer example):
5757
...
5858
headers: headers
5959
}
60-
```
60+
```

examples/example.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ header.setASMGroupID(123);
7979
// [IP Pools](https://sendgrid.com/docs/API_Reference/Web_API_v3/IP_Management/ip_pools.html)
8080
header.setIpPool("testPool");
8181

82+
// You can verify headers set (for debugging/logging purposes)
8283
console.log(header.jsonString());
8384

8485
// Send usin Nodemailer

0 commit comments

Comments
 (0)