sendgrid-ruby 6.3.3 → 6.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a99cbab593becca226765be0e10692ded5477764699344b3b93ca619aa3290e
4
- data.tar.gz: 2db29c6f0abeef43197c19fd384a2760e42f0ba952ed490a3ba60efbab3a1261
3
+ metadata.gz: 7b7ceda12fd42d78b3d9be742691aa04943810f7aaaeee00ebddded73004bb0b
4
+ data.tar.gz: c0dfae6e4e0a91ebf5816f8d2b4ce8dfcc4857be2e5d31dd1289f71b0b4f1845
5
5
  SHA512:
6
- metadata.gz: 4c9853763d323eef8a89334648df9cb8f8a3ed30687fedd463cffaec72aa6f4ca6627280a7c7805f8040001370c96441810e32fcec5b1528961b114734c85664
7
- data.tar.gz: f46c413bb546de8f57eaa1bc4cb85ef73a585a372a5df1417c7511d79797f9b42ddfb2a7797550e831182a597fe5bdeebd95ce794d9dd505a1434d5ad4e929f0
6
+ metadata.gz: 77d07eaf2f1b79970ec14246a185b97fb00b860831bad8db6570c8230d708f2621889eb10baeddf8f58deda706dc2ef88ba350a9fa0df25c135f03b28a8ba2db
7
+ data.tar.gz: 86c963fea6f7def49fbec7399c46862244cc9bf551f9b77894458311f676fe46b66be1b87621efcf4cee702dd9d136808df66d8727108aaea5e7e15b2b751d3d
@@ -23,7 +23,7 @@ deploy:
23
23
 
24
24
  notifications:
25
25
  slack:
26
- if: branch = master
26
+ if: branch = main
27
27
  on_pull_requests: false
28
28
  on_success: never
29
29
  on_failure: change
@@ -1,6 +1,16 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ [2020-08-19] Version 6.3.4
5
+ --------------------------
6
+ **Library - Docs**
7
+ - [PR #319](https://github.com/sendgrid/sendgrid-ruby/pull/319): Run all the *.md files through grammar.ly service and update accordingly. Thanks to [@Sarthakagarwal22](https://github.com/Sarthakagarwal22)!
8
+ - [PR #344](https://github.com/sendgrid/sendgrid-ruby/pull/344): Update example.rb. Thanks to [@kylearoberts](https://github.com/kylearoberts)!
9
+
10
+ **Library - Chore**
11
+ - [PR #432](https://github.com/sendgrid/sendgrid-ruby/pull/432): update GitHub branch references to use HEAD. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
12
+
13
+
4
14
  [2020-07-22] Version 6.3.3
5
15
  --------------------------
6
16
  **Library - Chore**
@@ -120,7 +130,7 @@ All notable changes to this project will be documented in this file.
120
130
  [2019-06-04] Version 6.0.0
121
131
  --------------------------
122
132
  ### BREAKING CHANGE
123
- - [PR #284](https://github.com/sendgrid/sendgrid-ruby/pull/284): The sinatra gem is no longer specified as a dependency of this gem. If you would like to use the inbound processing, please follow the [upgrade guide](https://github.com/sendgrid/sendgrid-ruby/blob/master/UPGRADE.md). Big thanks to [@jjb](https://github.com/jjb) for the PR!
133
+ - [PR #284](https://github.com/sendgrid/sendgrid-ruby/pull/284): The sinatra gem is no longer specified as a dependency of this gem. If you would like to use the inbound processing, please follow the [upgrade guide](UPGRADE.md). Big thanks to [@jjb](https://github.com/jjb) for the PR!
124
134
 
125
135
  ### Added
126
136
  - [PR #271](https://github.com/sendgrid/sendgrid-ruby/pull/271): Add ability to impersonate a subuser. Big thanks to [@danilospa](https://github.com/danilospa) for the PR!
@@ -187,7 +197,7 @@ All notable changes to this project will be documented in this file.
187
197
  - `mail.headers` becomes `mail.add_header()`
188
198
  - `mail.categories` becomes `mail.add_category()`
189
199
  - `mail.custom_args` becomes `mail.custom_args()`
190
- - For a full example of usage, please [see here](https://github.com/sendgrid/sendgrid-ruby/blob/master/examples/helpers/mail/example.rb#L21).
200
+ - For a full example of usage, please [see here](examples/helpers/mail/example.rb#L21).
191
201
 
192
202
  ## [4.3.3] - 2017-5-2
193
203
  ### Update
@@ -198,7 +208,7 @@ All notable changes to this project will be documented in this file.
198
208
  ## [4.3.2] - 2017-5-1 ##
199
209
  ### Fixes
200
210
  - #161: Fixed problematic Sinatra dependency
201
- - Brings back Rails 4 compatibility (and Rack 1.x applications, in general), also removes release candidate version constraint (both broken in #160). Moreover, ensures that tests are run against two major Sinatra versions, which should protect from compatibility issues in future, somewhat. Related issue: #159.
211
+ - Brings back Rails 4 compatibility (and Rack 1.x applications, in general), also removes release candidate version constraint (both broken in #160). Moreover, ensures that tests are run against two major Sinatra versions, which should protect from compatibility issues in the future, somewhat. Related issue: #159.
202
212
  - Thanks to [Sebastian Skałacki](https://github.com/skalee) for the pull request!
203
213
 
204
214
  ## [4.3.1] - 2017-4-12 ##
@@ -210,7 +220,7 @@ All notable changes to this project will be documented in this file.
210
220
  ## [4.3.0] - 2017-4-12 ##
211
221
  ### Added
212
222
  - #70: Adds an account settings management helper object
213
- - See the [helper README](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/settings) for details
223
+ - See the [helper README](lib/sendgrid/helpers/settings) for details
214
224
  - Thanks to [Kyle Kern](https://github.com/kernkw) for the pull request!
215
225
 
216
226
  ## [4.2.1] - 2017-4-10 ##
@@ -220,8 +230,8 @@ All notable changes to this project will be documented in this file.
220
230
 
221
231
  ## [4.2.0] - 2017-4-10 ##
222
232
  ### Added
223
- - #148: Set api_key to empty string
224
- - This makes creating an API key for a SendGrid subuser who does not have an API key easier. See #146 for details
233
+ - #148: Set api_key to an empty string
234
+ - This makes creating an API key for a SendGrid sub-user who does not have an API key easier. See #146 for details
225
235
  - Thanks to [Adam Beck](https://github.com/Gwash3189) for the pull request!
226
236
 
227
237
  ## [4.1.1] - 2017-4-6 ##
@@ -262,7 +272,7 @@ All notable changes to this project will be documented in this file.
262
272
  ## [4.0.3] - 2016-08-24 ##
263
273
  ### Added
264
274
  - Table of Contents in the README
265
- - Added a [USE_CASES.md](https://github.com/sendgrid/sendgrid-ruby/blob/master/USE_CASES.md) section, with the first use case example for transactional templates
275
+ - Added a [USE_CASES.md](USE_CASES.md) section, with the first use case example for transactional templates
266
276
 
267
277
  ## [4.0.2] - 2016-07-26 ##
268
278
  ### Fixed
@@ -270,7 +280,7 @@ All notable changes to this project will be documented in this file.
270
280
 
271
281
  ## [4.0.1] - 2016-07-25 ##
272
282
  ### Added
273
- - [Troubleshooting](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md) section
283
+ - [Troubleshooting](TROUBLESHOOTING.md) section
274
284
 
275
285
  ## [4.0.0] - 2016-07-23 ##
276
286
  ### BREAKING CHANGE
@@ -18,7 +18,7 @@ Hello! Thank you for choosing to help contribute to one of the Twilio SendGrid o
18
18
  - [Code Reviews](#code-reviews)
19
19
 
20
20
  <a name="roadmap"></a>
21
- We use [Milestones](https://github.com/sendgrid/sendgrid-ruby/milestones) to help define current roadmaps, please feel free to grab an issue from the current milestone. Please indicate that you have begun work on it to avoid collisions. Once a PR is made, community review, comments, suggestions and additional PRs are welcomed and encouraged.
21
+ We use [Milestones](https://github.com/sendgrid/sendgrid-ruby/milestones) to help define current roadmaps, please feel free to grab an issue from the current milestone. Please indicate that you have begun work on it to avoid collisions. Once a PR is made, community review, comments, suggestions, and additional PRs are welcomed and encouraged.
22
22
 
23
23
  There are a few ways to contribute, which we'll enumerate below:
24
24
 
@@ -42,7 +42,7 @@ A software bug is a demonstrable issue in the code base. In order for us to diag
42
42
  Before you decide to create a new issue, please try the following:
43
43
 
44
44
  1. Check the Github issues tab if the identified issue has already been reported, if so, please add a +1 to the existing post.
45
- 2. Update to the latest version of this code and check if issue has already been fixed
45
+ 2. Update to the latest version of this code and check if an issue has already been fixed
46
46
  3. Copy and fill in the Bug Report Template we have provided below
47
47
 
48
48
  ### Please use our Bug Report Template
@@ -93,7 +93,7 @@ source ./sendgrid.env
93
93
 
94
94
  ##### Execute: #####
95
95
 
96
- See the [examples folder](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples) to get started quickly.
96
+ See the [examples folder](examples) to get started quickly.
97
97
 
98
98
  To run the examples using the local version of this library from the root directory of this repo, please replace:
99
99
 
@@ -126,7 +126,7 @@ The Web API v3 client is `sendgrid-ruby.rb`
126
126
 
127
127
  ## Testing
128
128
 
129
- All PRs require passing tests before the PR will be reviewed. All test files are in the [`tests`](https://github.com/sendgrid/sendgrid-ruby/tree/master/test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid-ruby.rb`](https://github.com/sendgrid/sendgrid-ruby/blob/master/test/test_sendgrid-ruby.rb) file with unit tests as you modify the code.
129
+ All PRs require passing tests before the PR will be reviewed. All test files are in the [`tests`](test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid-ruby.rb`](test/sendgrid/test_sendgrid-ruby.rb) file with unit tests as you modify the code.
130
130
 
131
131
  The integration tests require a Twilio SendGrid mock API in order to execute. We've simplified setting this up using Docker to run the tests. You will just need [Docker Desktop](https://docs.docker.com/get-docker/) and `make`.
132
132
 
@@ -176,7 +176,7 @@ Please run your code through:
176
176
 
177
177
  4. Commit your changes in logical chunks. Please adhere to these [git commit
178
178
  message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
179
- or your code is unlikely be merged into the main project. Use Git's
179
+ or your code is unlikely to be merged into the main project. Use Git's
180
180
  [interactive rebase](https://help.github.com/articles/interactive-rebase)
181
181
  feature to tidy up your commits before making them public.
182
182
 
@@ -187,7 +187,7 @@ Please run your code through:
187
187
  5. Locally merge (or rebase) the upstream development branch into your topic branch:
188
188
 
189
189
  ```bash
190
- git pull [--rebase] upstream master
190
+ git pull [--rebase] upstream main
191
191
  ```
192
192
 
193
193
  6. Push your topic branch up to your fork:
@@ -197,7 +197,7 @@ Please run your code through:
197
197
  ```
198
198
 
199
199
  7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
200
- with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
200
+ with a clear title and description against the `main` branch. All tests must be passing before we will review the PR.
201
201
 
202
202
  <a name="code-reviews"></a>
203
203
  ## Code Reviews
@@ -0,0 +1,79 @@
1
+ # How To Contribute to Twilio SendGrid Repositories via GitHub
2
+ Contributing to the Twilio SendGrid repositories is easy! All you need to do is find an open issue (see the bottom of this page for a list of repositories containing open issues), fix it and submit a pull request. Once you have submitted your pull request, the team can easily review it before it is merged into the repository.
3
+
4
+ To make a pull request, follow these steps:
5
+
6
+ 1. Log into GitHub. If you do not already have a GitHub account, you will have to create one in order to submit a change. Click the Sign up link in the upper right-hand corner to create an account. Enter your username, password, and email address. If you are an employee of Twilio SendGrid, please use your full name with your GitHub account and enter Twilio SendGrid as your company so we can easily identify you.
7
+
8
+ <img src="/static/img/github-sign-up.png" width="800">
9
+
10
+ 2. __[Fork](https://help.github.com/fork-a-repo/)__ the [sendgrid-ruby](https://github.com/sendgrid/sendgrid-ruby) repository:
11
+
12
+ <img src="/static/img/github-fork.png" width="800">
13
+
14
+ 3. __Clone__ your fork via the following commands:
15
+
16
+ ```bash
17
+ # Clone your fork of the repo into the current directory
18
+ git clone https://github.com/your_username/sendgrid-ruby
19
+ # Navigate to the newly cloned directory
20
+ cd sendgrid-ruby
21
+ # Assign the original repo to a remote called "upstream"
22
+ git remote add upstream https://github.com/sendgrid/sendgrid-ruby
23
+ ```
24
+
25
+ > Don't forget to replace *your_username* in the URL by your real GitHub username.
26
+
27
+ 4. __Create a new topic branch__ (off the main project development branch) to contain your feature, change, or fix:
28
+
29
+ ```bash
30
+ git checkout -b <topic-branch-name>
31
+ ```
32
+
33
+ 5. __Commit your changes__ in logical chunks.
34
+
35
+ Please adhere to these [git commit message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) or your code is unlikely be merged into the main project. Use Git's [interactive rebase](https://help.github.com/articles/interactive-rebase) feature to tidy up your commits before making them public. Probably you will also have to create tests (if needed) or create or update the example code that demonstrates the functionality of this change to the code.
36
+
37
+ 6. __Locally merge (or rebase)__ the upstream development branch into your topic branch:
38
+
39
+ ```bash
40
+ git pull [--rebase] upstream main
41
+ ```
42
+
43
+ 7. __Push__ your topic branch up to your fork:
44
+
45
+ ```bash
46
+ git push origin <topic-branch-name>
47
+ ```
48
+
49
+ 8. __[Open a Pull Request](https://help.github.com/articles/creating-a-pull-request/#changing-the-branch-range-and-destination-repository/)__ with a clear title and description against the `main` branch. All tests must be passing before we will review the PR.
50
+
51
+ ## Important notice
52
+
53
+ Before creating a pull request, make sure that you respect the repository's constraints regarding contributions. You can find them in the [CONTRIBUTING.md](CONTRIBUTING.md) file.
54
+
55
+ ## Repositories with Open, Easy, Help Wanted, Issue Filters
56
+
57
+ * [Python SDK](https://github.com/sendgrid/sendgrid-python/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
58
+ * [PHP SDK](https://github.com/sendgrid/sendgrid-php/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
59
+ * [C# SDK](https://github.com/sendgrid/sendgrid-csharp/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
60
+ * [Ruby SDK](https://github.com/sendgrid/sendgrid-ruby/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
61
+ * [Node.js SDK](https://github.com/sendgrid/sendgrid-nodejs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
62
+ * [Java SDK](https://github.com/sendgrid/sendgrid-java/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
63
+ * [Go SDK](https://github.com/sendgrid/sendgrid-go/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
64
+ * [Python STMPAPI Client](https://github.com/sendgrid/smtpapi-python/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
65
+ * [PHP STMPAPI Client](https://github.com/sendgrid/smtpapi-php/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
66
+ * [C# STMPAPI Client](https://github.com/sendgrid/smtpapi-csharp/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
67
+ * [Ruby STMPAPI Client](https://github.com/sendgrid/smtpapi-ruby/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
68
+ * [Node.js STMPAPI Client](https://github.com/sendgrid/smtpapi-nodejs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
69
+ * [Java STMPAPI Client](https://github.com/sendgrid/smtpapi-java/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
70
+ * [Go STMPAPI Client](https://github.com/sendgrid/smtpapi-go/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
71
+ * [Python HTTP Client](https://github.com/sendgrid/python-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
72
+ * [PHP HTTP Client](https://github.com/sendgrid/php-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
73
+ * [C# HTTP Client](https://github.com/sendgrid/csharp-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
74
+ * [Java HTTP Client](https://github.com/sendgrid/java-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
75
+ * [Ruby HTTP Client](https://github.com/sendgrid/ruby-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
76
+ * [Go HTTP Client](https://github.com/sendgrid/rest/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
77
+ * [Open API Definition](https://github.com/sendgrid/sendgrid-oai/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
78
+ * [DX Automator](https://github.com/sendgrid/dx-automator/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
79
+ * [Documentation](https://github.com/sendgrid/docs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
@@ -1,5 +1,9 @@
1
1
  <!--
2
2
  If this is a feature request, make sure you search Issues for an existing request before creating a new one!
3
+
4
+ Please utilize the template below to help us resolve your issue.
5
+
6
+ Note that many issues can be resolved by updating to the latest version.
3
7
  -->
4
8
 
5
9
  ### Issue Summary
@@ -21,6 +25,6 @@ A summary of the issue and the environment in which it occurs. If suitable, incl
21
25
  ```
22
26
 
23
27
  ### Technical details:
24
- * sendgrid-ruby version:
28
+ * sendgrid-ruby version:
25
29
  * ruby version:
26
30
 
data/Makefile CHANGED
@@ -10,5 +10,5 @@ test-integ: test
10
10
 
11
11
  version ?= ruby:latest
12
12
  test-docker:
13
- curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/main/prism/prism.sh -o prism.sh
13
+ curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
14
14
  version=$(version) bash ./prism.sh
@@ -23,7 +23,7 @@ A short description of what this PR does.
23
23
  - [ ] I have made a material change to the repo (functionality, testing, spelling, grammar)
24
24
  - [ ] I have read the [Contribution Guidelines](CONTRIBUTING.md) and my PR follows them
25
25
  - [ ] I have titled the PR appropriately
26
- - [ ] I have updated my branch with the master branch
26
+ - [ ] I have updated my branch with the main branch
27
27
  - [ ] I have added tests that prove my fix is effective or that my feature works
28
28
  - [ ] I have added necessary documentation about the functionality in the appropriate .md file
29
29
  - [ ] I have added inline documentation to the code I modified
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- ![Twilio SendGrid Logo](https://github.com/sendgrid/sendgrid-python/raw/master/twilio_sendgrid_logo.png)
1
+ ![Twilio SendGrid Logo](twilio_sendgrid_logo.png)
2
2
 
3
- [![Travis Badge](https://travis-ci.org/sendgrid/sendgrid-ruby.svg?branch=master)](https://travis-ci.org/sendgrid/sendgrid-ruby)
3
+ [![Travis Badge](https://travis-ci.org/sendgrid/sendgrid-ruby.svg?branch=main)](https://travis-ci.org/sendgrid/sendgrid-ruby)
4
4
  [![Gem Version](https://badge.fury.io/rb/sendgrid-ruby.svg)](https://badge.fury.io/rb/sendgrid-ruby)
5
5
  [![Email Notifications Badge](https://dx.sendgrid.com/badge/ruby)](https://dx.sendgrid.com/newsletter/ruby)
6
6
  [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
@@ -10,11 +10,13 @@
10
10
 
11
11
  **NEW:** Subscribe to email [notifications](https://dx.sendgrid.com/newsletter/ruby) for releases and breaking changes.
12
12
 
13
+ **The default branch name for this repository has been changed to `main` as of 07/27/2020.**
14
+
13
15
  **This library allows you to quickly and easily use the Twilio SendGrid Web API v3 via Ruby.**
14
16
 
15
17
  Version 3.X.X+ of this library provides full support for all Twilio SendGrid [Web API v3](https://sendgrid.com/docs/API_Reference/Web_API_v3/index.html) endpoints, including the new [v3 /mail/send](https://sendgrid.com/blog/introducing-v3mailsend-sendgrids-new-mail-endpoint).
16
18
 
17
- This library represents the beginning of a new path for Twilio SendGrid. We want this library to be community driven and Twilio SendGrid led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/sendgrid/sendgrid-ruby/issues) and [pull requests](https://github.com/sendgrid/sendgrid-ruby/blob/master/CONTRIBUTING.md) or simply upvote or comment on existing issues or pull requests.
19
+ This library represents the beginning of a new path for Twilio SendGrid. We want this library to be community driven and Twilio SendGrid led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/sendgrid/sendgrid-ruby/issues) and [pull requests](CONTRIBUTING.md) or simply upvote or comment on existing issues or pull requests.
18
20
 
19
21
  Please browse the rest of this README for further details.
20
22
 
@@ -40,7 +42,7 @@ We appreciate your continued support, thank you!
40
42
 
41
43
  ## Prerequisites
42
44
 
43
- - Ruby version >= 2.4 (except version [2.6.0](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md#ruby-versions))
45
+ - Ruby version >= 2.4 (except version [2.6.0](TROUBLESHOOTING.md#ruby-versions))
44
46
  - The Twilio SendGrid service, starting at the [free level](https://sendgrid.com/free?source=sendgrid-ruby)
45
47
 
46
48
  ## Setup Environment Variables
@@ -81,7 +83,7 @@ gem install sendgrid-ruby
81
83
 
82
84
  ## Hello Email
83
85
 
84
- The following is the minimum needed code to send an email with the [/mail/send Helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/mail) ([here](https://github.com/sendgrid/sendgrid-ruby/blob/master/examples/helpers/mail/example.rb#L21) is a full example):
86
+ The following is the minimum needed code to send an email with the [/mail/send Helper](lib/sendgrid/helpers/mail) ([here](examples/helpers/mail/example.rb#L21) is a full example):
85
87
 
86
88
  ### With Mail Helper Class
87
89
 
@@ -103,11 +105,11 @@ puts response.parsed_body
103
105
  puts response.headers
104
106
  ```
105
107
 
106
- For more complex scenarios, please do not use the above constructor and instead build your own personalization object as [demonstrated here](https://github.com/sendgrid/sendgrid-ruby/blob/master/examples/helpers/mail/example.rb#L21).
108
+ For more complex scenarios, please do not use the above constructor and instead build your own personalization object as [demonstrated here](examples/helpers/mail/example.rb#L21).
107
109
 
108
110
  ### Without Mail Helper Class
109
111
 
110
- The following is the minimum needed code to send an email without the /mail/send Helper ([here](https://github.com/sendgrid/sendgrid-ruby/blob/master/examples/mail/mail.rb#L26) is a full example):
112
+ The following is the minimum needed code to send an email without the /mail/send Helper ([here](examples/mail/mail.rb#L26) is a full example):
111
113
 
112
114
  ```ruby
113
115
  require 'sendgrid-ruby'
@@ -169,29 +171,29 @@ puts response.headers
169
171
  <a name="inbound"></a>
170
172
  # Processing Inbound Email
171
173
 
172
- Please see [our helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/inbound) for utilizing our Inbound Parse webhook.
174
+ Please see [our helper](lib/sendgrid/helpers/inbound) for utilizing our Inbound Parse webhook.
173
175
 
174
176
  <a name="usage"></a>
175
177
  # Usage
176
178
 
177
179
  - [Twilio SendGrid Docs](https://sendgrid.com/docs/API_Reference/index.html)
178
- - [Library Usage Docs](https://github.com/sendgrid/sendgrid-ruby/tree/master/USAGE.md)
179
- - [Example Code](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples)
180
+ - [Library Usage Docs](USAGE.md)
181
+ - [Example Code](examples)
180
182
  - [How-to: Migration from v2 to v3](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/how_to_migrate_from_v2_to_v3_mail_send.html)
181
- - [v3 Web API Mail Send Helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/mail) - build a request object payload for a v3 /mail/send API call.
182
- - [Settings Helper](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/settings)
183
+ - [v3 Web API Mail Send Helper](lib/sendgrid/helpers/mail) - build a request object payload for a v3 /mail/send API call.
184
+ - [Settings Helper](lib/sendgrid/helpers/settings)
183
185
 
184
186
  <a name="use_cases"></a>
185
187
  # Use Cases
186
188
 
187
- [Examples of common API use cases](https://github.com/sendgrid/sendgrid-ruby/blob/master/USE_CASES.md), such as how to send an email with a transactional template.
189
+ [Examples of common API use cases](use-cases), such as how to send an email with a transactional template.
188
190
 
189
191
  <a name="announcements"></a>
190
192
  # Announcements
191
193
 
192
194
  Please see our announcement regarding [breaking changes](https://github.com/sendgrid/sendgrid-ruby/issues/94). Your support is appreciated!
193
195
 
194
- All updates to this library are documented in our [CHANGELOG](https://github.com/sendgrid/sendgrid-ruby/blob/master/CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-ruby/releases). You may also subscribe to email [release notifications](https://dx.sendgrid.com/newsletter/ruby) for releases and breaking changes.
196
+ All updates to this library are documented in our [CHANGELOG](CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-ruby/releases). You may also subscribe to email [release notifications](https://dx.sendgrid.com/newsletter/ruby) for releases and breaking changes.
195
197
 
196
198
  <a name="roadmap"></a>
197
199
  # Roadmap
@@ -201,17 +203,17 @@ If you are interested in the future direction of this project, please take a loo
201
203
  <a name="contribute"></a>
202
204
  # How to Contribute
203
205
 
204
- We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/sendgrid/sendgrid-ruby/tree/master/CONTRIBUTING.md) guide for details.
206
+ We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](CONTRIBUTING.md) guide for details.
205
207
 
206
- - [Feature Request](https://github.com/sendgrid/sendgrid-ruby/tree/master/CONTRIBUTING.md#feature_request)
207
- - [Bug Reports](https://github.com/sendgrid/sendgrid-ruby/tree/master/CONTRIBUTING.md#submit_a_bug_report)
208
- - [Improvements to the Codebase](https://github.com/sendgrid/sendgrid-ruby/tree/master/CONTRIBUTING.md#improvements_to_the_codebase)
209
- - [Review Pull Requests](https://github.com/sendgrid/sendgrid-ruby/blob/master/CONTRIBUTING.md#code-reviews)
208
+ - [Feature Request](CONTRIBUTING.md#feature_request)
209
+ - [Bug Reports](CONTRIBUTING.md#submit_a_bug_report)
210
+ - [Improvements to the Codebase](CONTRIBUTING.md#improvements_to_the_codebase)
211
+ - [Review Pull Requests](CONTRIBUTING.md#code-reviews)
210
212
 
211
213
  <a name="troubleshooting"></a>
212
214
  # Troubleshooting
213
215
 
214
- Please see our [troubleshooting guide](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md) for common library issues.
216
+ Please see our [troubleshooting guide](TROUBLESHOOTING.md) for common library issues.
215
217
 
216
218
  <a name="about"></a>
217
219
  # About
@@ -28,7 +28,7 @@ Please review [our guide](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/
28
28
 
29
29
  [Here](https://github.com/sendgrid/sendgrid-ruby/tree/0fbf579c0f7ed1dff87adc4957c4dc5a6b257068) is the last working version with v2 support.
30
30
 
31
- Using rubygems:
31
+ Using RubyGems:
32
32
 
33
33
  Add this line to your application's Gemfile:
34
34
 
@@ -73,7 +73,7 @@ end
73
73
  <a name="versioning"></a>
74
74
  ## Versioning
75
75
 
76
- We follow the MAJOR.MINOR.PATCH versioning scheme as described by [SemVer.org](http://semver.org). Therefore, we recommend that you always pin (or vendor) the particular version you are working with to your code and never auto-update to the latest version. Especially when there is a MAJOR point release, since that is guaranteed to be a breaking change. Changes are documented in the [CHANGELOG](https://github.com/sendgrid/sendgrid-ruby/blob/master/CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-ruby/releases) section.
76
+ We follow the MAJOR.MINOR.PATCH versioning scheme as described by [SemVer.org](http://semver.org). Therefore, we recommend that you always pin (or vendor) the particular version you are working with your code and never auto-update to the latest version. Especially when there is a MAJOR point release since that is guaranteed to be a breaking change. Changes are documented in the [CHANGELOG](CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-ruby/releases) section.
77
77
 
78
78
  <a name="environment"></a>
79
79
  ## Environment Variables and Your Twilio SendGrid API Key
@@ -88,7 +88,7 @@ becomes
88
88
 
89
89
  `sg = SendGrid::API.new(api_key: 'SENDGRID_API_KEY')`
90
90
 
91
- In the first case SENDGRID_API_KEY is in reference to the name of the environment variable, while the second case references the actual Twilio SendGrid API Key.
91
+ In the first case, SENDGRID_API_KEY is in reference to the name of the environment variable, while the second case references the actual Twilio SendGrid API Key.
92
92
 
93
93
  <a name="package-manager"></a>
94
94
  ## Using the Package Manager
@@ -118,9 +118,9 @@ gem install sendgrid-ruby -v X.X.X
118
118
  <a name="rails-specifics"></a>
119
119
  ## Rails Specifics
120
120
 
121
- - Namespace collision between Rails own `Mail` class and sendgrid class `Mail`. To avoid that issues please use `SendGrid::Mail` instead.
121
+ - Namespace collision between Rails own `Mail` class and sendgrid class `Mail`. To avoid that issues please use `SendGrid:: Mail` instead.
122
122
 
123
- - Possibility of a namespace collision between the sendgrid class `Email` and your own defined `Email` class. To avoid these issues, you can skip the `include SendGrid` line and use the `SendGrid::` prefix for Email. Please see this [SO answer](https://stackoverflow.com/questions/41508464/rails-model-name-conflict-with-included-gem?noredirect=1#comment70223099_41508464) for specifics.
123
+ - The possibility of a namespace collision between the sendgrid class `Email` and your own defined `Email` class. To avoid these issues, you can skip the `include SendGrid` line and use the `SendGrid::` prefix for Email. Please see this [SO answer](https://stackoverflow.com/questions/41508464/rails-model-name-conflict-with-included-gem?noredirect=1#comment70223099_41508464) for specifics.
124
124
 
125
125
  <a name="ruby-versions"></a>
126
126
  ## Ruby Versions
data/USAGE.md CHANGED
@@ -290,7 +290,7 @@ puts response.headers
290
290
 
291
291
  **This endpoint allows you to create a new random API Key for the user.**
292
292
 
293
- A JSON request body containing a "name" property is required. If number of maximum keys is reached, HTTP 403 will be returned.
293
+ A JSON request body containing a "name" property is required. If the number of maximum keys is reached, HTTP 403 will be returned.
294
294
 
295
295
  There is a limit of 100 API Keys on your account.
296
296
 
@@ -406,7 +406,7 @@ puts response.headers
406
406
 
407
407
  **This endpoint allows you to revoke an existing API Key**
408
408
 
409
- Authentications using this API Key will fail after this request is made, with some small propagation delay.If the API Key ID does not exist an HTTP 404 will be returned.
409
+ Authentications using this API Key will fail after this request is made, with some small propagation delay. If the API Key ID does not exist an HTTP 404 will be returned.
410
410
 
411
411
  The API Keys feature allows customers to be able to generate an API Key credential which can be used for authentication with the Twilio SendGrid v3 Web API or the [Mail API Endpoint](https://sendgrid.com/docs/API_Reference/Web_API/mail.html).
412
412
 
@@ -967,7 +967,7 @@ puts response.headers
967
967
 
968
968
  **This endpoint allows you to send a test campaign.**
969
969
 
970
- To send to multiple addresses, use an array for the JSON "to" value ["one@address","two@address"]
970
+ To send to multiple addresses, use an array for the JSON "to" value ["one@address", "two@address"]
971
971
 
972
972
  For more information:
973
973
 
@@ -1417,7 +1417,7 @@ puts response.headers
1417
1417
  ```
1418
1418
  ## Delete Recipient
1419
1419
 
1420
- **This endpoint allows you to deletes one or more recipients.**
1420
+ **This endpoint allows you to delete one or more recipients.**
1421
1421
 
1422
1422
  The body of an API call to this endpoint must include an array of recipient IDs of the recipients you want to delete.
1423
1423
 
@@ -1529,7 +1529,7 @@ puts response.headers
1529
1529
 
1530
1530
  **This endpoint allows you to retrieve the lists that a given recipient belongs to.**
1531
1531
 
1532
- Each recipient can be on many lists. This endpoint gives you all of the lists that any one recipient has been added to.
1532
+ Each recipient can be on many lists. This endpoint gives you all of the lists that anyone recipient has been added to.
1533
1533
 
1534
1534
  The Contacts API helps you manage your [Marketing Campaigns](https://sendgrid.com/docs/User_Guide/Marketing_Campaigns/index.html) recipients.
1535
1535
 
@@ -1686,7 +1686,7 @@ puts response.headers
1686
1686
  ```
1687
1687
  ## Delete a segment
1688
1688
 
1689
- **This endpoint allows you to delete a segment from your recipients database.**
1689
+ **This endpoint allows you to delete a segment from your recipient's database.**
1690
1690
 
1691
1691
  You also have the option to delete all the contacts from your Marketing Campaigns recipient database who were in this segment.
1692
1692
 
@@ -1736,10 +1736,10 @@ puts response.headers
1736
1736
  ## Available Device Types
1737
1737
  | **Device** | **Description** | **Example** |
1738
1738
  |---|---|---|
1739
- | Desktop | Email software on desktop computer. | I.E., Outlook, Sparrow, or Apple Mail. |
1740
- | Webmail | A web-based email client. | I.E., Yahoo, Google, AOL, or Outlook.com. |
1741
- | Phone | A smart phone. | iPhone, Android, Blackberry, etc.
1742
- | Tablet | A tablet computer. | iPad, android based tablet, etc. |
1739
+ | Desktop | Email software on a desktop computer. | I.E., Outlook, Sparrow, or Apple Mail. |
1740
+ | Webmail | A web-based email client. | I.E., Yahoo, Google, AOL, or Outlook.com. |
1741
+ | Phone | A smartphone. | iPhone, Android, Blackberry, etc.
1742
+ | Tablet | A tablet computer. | iPad, Android-based tablet, etc. |
1743
1743
  | Other | An unrecognized device. |
1744
1744
 
1745
1745
  Advanced Stats provide a more in-depth view of your email statistics and the actions taken by your recipients. You can segment these statistics by geographic location, device type, client type, browser, and mailbox provider. For more information about statistics, please see our [User Guide](https://sendgrid.com/docs/User_Guide/Statistics/index.html).
@@ -1782,7 +1782,7 @@ puts response.headers
1782
1782
 
1783
1783
  **This endpoint allows you to retrieve a list of all assigned and unassigned IPs.**
1784
1784
 
1785
- Response includes warm up status, pools, assigned subusers, and authentica info. The start_date field corresponds to when warmup started for that IP.
1785
+ The response includes warm up status, pools, assigned sub users, and authentication info. The start_date field corresponds to when warmup started for that IP.
1786
1786
 
1787
1787
  A single IP address or a range of IP addresses may be dedicated to an account in order to send email for multiple domains. The reputation of this IP is based on the aggregate performance of all the senders who use it.
1788
1788
 
@@ -2055,7 +2055,7 @@ puts response.headers
2055
2055
 
2056
2056
  **This endpoint allows you to generate a new batch ID. This batch ID can be associated with scheduled sends via the mail/send endpoint.**
2057
2057
 
2058
- If you set the SMTPAPI header `batch_id`, it allows you to then associate multiple scheduled mail/send requests together with the same ID. Then at anytime up to 10 minutes before the schedule date, you can cancel all of the mail/send requests that have this batch ID by calling the Cancel Scheduled Send endpoint.
2058
+ If you set the SMTPAPI header `batch_id`, it allows you to then associate multiple scheduled mail/send requests together with the same ID. Then at any time up to 10 minutes before the scheduled date, you can cancel all of the mail/send requests that have this batch ID by calling the Cancel Scheduled Send endpoint.
2059
2059
 
2060
2060
  More Information:
2061
2061
 
@@ -2074,7 +2074,7 @@ puts response.headers
2074
2074
 
2075
2075
  **This endpoint allows you to validate a batch ID.**
2076
2076
 
2077
- If you set the SMTPAPI header `batch_id`, it allows you to then associate multiple scheduled mail/send requests together with the same ID. Then at anytime up to 10 minutes before the schedule date, you can cancel all of the mail/send requests that have this batch ID by calling the Cancel Scheduled Send endpoint.
2077
+ If you set the SMTPAPI header `batch_id`, it allows you to then associate multiple scheduled mail/send requests together with the same ID. Then at any time up to 10 minutes before the scheduled date, you can cancel all of the mail/send requests that have this batch ID by calling the Cancel Scheduled Send endpoint.
2078
2078
 
2079
2079
  More Information:
2080
2080
 
@@ -2092,7 +2092,7 @@ puts response.headers
2092
2092
  ```
2093
2093
  ## v3 Mail Send
2094
2094
 
2095
- This endpoint allows you to send email over Twilio SendGrid's v3 Web API, the most recent version of our API. If you are looking for documentation about the v2 Mail Send endpoint, please see our [v2 API Reference](https://sendgrid.com/docs/API_Reference/Web_API/mail.html).
2095
+ This endpoint allows you to send an email over Twilio SendGrid's v3 Web API, the most recent version of our API. If you are looking for documentation about the v2 Mail Send endpoint, please see our [v2 API Reference](https://sendgrid.com/docs/API_Reference/Web_API/mail.html).
2096
2096
 
2097
2097
  * Top level parameters are referred to as "global".
2098
2098
  * Individual fields within the personalizations array will override any other global, or message level, parameters that are defined outside of personalizations.
@@ -2103,7 +2103,7 @@ For more detailed information about how to use the v3 Mail Send endpoint, please
2103
2103
 
2104
2104
  ### POST /mail/send
2105
2105
 
2106
- This endpoint has a helper, check it out [here](https://github.com/sendgrid/sendgrid-ruby/blob/master/lib/sendgrid/helpers/mail/README.md).
2106
+ This endpoint has a helper, check it out [here](lib/sendgrid/helpers/mail/README.md).
2107
2107
 
2108
2108
  ```ruby
2109
2109
  data = JSON.parse('{
@@ -2313,7 +2313,7 @@ puts response.headers
2313
2313
 
2314
2314
  **This endpoint allows you to update your current BCC mail settings.**
2315
2315
 
2316
- When the BCC mail setting is enabled, Twilio SendGrid will automatically send a blind carbon copy (BCC) to an address for every email sent without adding that address to the header. Please note that only one email address may be entered in this field, if you wish to distribute BCCs to multiple addresses you will need to create a distribution group or use forwarding rules.
2316
+ When the BCC mail setting is enabled, Twilio SendGrid will automatically send a blind carbon copy (BCC) to an address for every email sent without adding that address to the header. Please note that only one email address may be entered in this field if you wish to distribute BCCs to multiple addresses you will need to create a distribution group or use forwarding rules.
2317
2317
 
2318
2318
  Mail settings allow you to tell Twilio SendGrid specific things to do to every email that you send to your recipients over Twilio SendGrid's [Web API](https://sendgrid.com/docs/API_Reference/Web_API/mail.html) or [SMTP Relay](https://sendgrid.com/docs/API_Reference/SMTP_API/index.html).
2319
2319
 
@@ -2334,7 +2334,7 @@ puts response.headers
2334
2334
 
2335
2335
  **This endpoint allows you to retrieve your current BCC mail settings.**
2336
2336
 
2337
- When the BCC mail setting is enabled, Twilio SendGrid will automatically send a blind carbon copy (BCC) to an address for every email sent without adding that address to the header. Please note that only one email address may be entered in this field, if you wish to distribute BCCs to multiple addresses you will need to create a distribution group or use forwarding rules.
2337
+ When the BCC mail setting is enabled, Twilio SendGrid will automatically send a blind carbon copy (BCC) to an address for every email sent without adding that address to the header. Please note that only one email address may be entered in this field if you wish to distribute BCCs to multiple addresses you will need to create a distribution group or use forwarding rules.
2338
2338
 
2339
2339
  Mail settings allow you to tell Twilio SendGrid specific things to do to every email that you send to your recipients over Twilio SendGrid's [Web API](https://sendgrid.com/docs/API_Reference/Web_API/mail.html) or [SMTP Relay](https://sendgrid.com/docs/API_Reference/SMTP_API/index.html).
2340
2340
 
@@ -2725,7 +2725,7 @@ puts response.headers
2725
2725
 
2726
2726
  *You may create up to 100 unique sender identities.*
2727
2727
 
2728
- Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise an email will be sent to the `from.email`.
2728
+ Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise, an email will be sent to the `from.email`.
2729
2729
 
2730
2730
  ### POST /senders
2731
2731
 
@@ -2757,7 +2757,7 @@ puts response.headers
2757
2757
 
2758
2758
  **This endpoint allows you to retrieve a list of all sender identities that have been created for your account.**
2759
2759
 
2760
- Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise an email will be sent to the `from.email`.
2760
+ Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise, an email will be sent to the `from.email`.
2761
2761
 
2762
2762
  ### GET /senders
2763
2763
 
@@ -2772,7 +2772,7 @@ puts response.headers
2772
2772
 
2773
2773
  **This endpoint allows you to update a sender identity.**
2774
2774
 
2775
- Updates to `from.email` require re-verification. If your domain has been authenticated, it will auto verify on creation. Otherwise an email will be sent to the `from.email`.
2775
+ Updates to `from.email` require re-verification. If your domain has been authenticated, it will auto verify on creation. Otherwise, an email will be sent to the `from.email`.
2776
2776
 
2777
2777
  Partial updates are allowed, but fields that are marked as "required" in the POST (create) endpoint must not be nil if that field is included in the PATCH request.
2778
2778
 
@@ -2807,7 +2807,7 @@ puts response.headers
2807
2807
 
2808
2808
  **This endpoint allows you to retrieve a specific sender identity.**
2809
2809
 
2810
- Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise an email will be sent to the `from.email`.
2810
+ Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise, an email will be sent to the `from.email`.
2811
2811
 
2812
2812
  ### GET /senders/{sender_id}
2813
2813
 
@@ -2823,7 +2823,7 @@ puts response.headers
2823
2823
 
2824
2824
  **This endpoint allows you to delete one of your sender identities.**
2825
2825
 
2826
- Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise an email will be sent to the `from.email`.
2826
+ Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise, an email will be sent to the `from.email`.
2827
2827
 
2828
2828
  ### DELETE /senders/{sender_id}
2829
2829
 
@@ -2839,7 +2839,7 @@ puts response.headers
2839
2839
 
2840
2840
  **This endpoint allows you to resend a sender identity verification email.**
2841
2841
 
2842
- Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise an email will be sent to the `from.email`.
2842
+ Sender Identities are required to be verified before use. If your domain has been authenticated, it will auto verify on creation. Otherwise, an email will be sent to the `from.email`.
2843
2843
 
2844
2844
  ### POST /senders/{sender_id}/resend_verification
2845
2845
 
@@ -3517,7 +3517,7 @@ puts response.headers
3517
3517
  ```
3518
3518
  ## Retrieve Subuser Reputations
3519
3519
 
3520
- Subuser sender reputations give a good idea how well a sender is doing with regards to how recipients and recipient servers react to the mail that is being received. When a bounce, spam report, or other negative action happens on a sent email, it will effect your sender rating.
3520
+ Subuser sender reputations give a good idea how well a sender is doing with regards to how recipients and recipient servers react to the mail that is being received. When a bounce, spam report, or other negative action happens on a sent email, it will affect your sender rating.
3521
3521
 
3522
3522
  This endpoint allows you to request the reputations for your subusers.
3523
3523
 
@@ -3594,7 +3594,6 @@ puts response.headers
3594
3594
  ## Enable/disable a subuser
3595
3595
 
3596
3596
  This endpoint allows you to enable or disable a subuser.
3597
-
3598
3597
  For more information about Subusers:
3599
3598
 
3600
3599
  * [User Guide > Subusers](https://sendgrid.com/docs/User_Guide/Settings/Subusers/index.html)
@@ -3903,7 +3902,7 @@ puts response.headers
3903
3902
 
3904
3903
  **This endpoint allows you to remove an email address from your bounce list.**
3905
3904
 
3906
- Bounces are messages that are returned to the server that sent it. This endpoint allows you to delete a single email addresses from your bounce list.
3905
+ Bounces are messages that are returned to the server that sent it. This endpoint allows you to delete a single email address from your bounce list.
3907
3906
 
3908
3907
  For more information see:
3909
3908
 
@@ -3926,7 +3925,7 @@ puts response.headers
3926
3925
 
3927
3926
  **This endpoint allows you to retrieve a list of all invalid email addresses.**
3928
3927
 
3929
- An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipients mail server.
3928
+ An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipient's mail server.
3930
3929
 
3931
3930
  Examples include addresses without the @ sign or addresses that include certain special characters and/or spaces. This response can come from our own server or the recipient mail server.
3932
3931
 
@@ -3951,7 +3950,7 @@ There are two options for deleting invalid email addresses:
3951
3950
  1) You can delete all invalid email addresses by setting `delete_all` to true in the request body.
3952
3951
  2) You can delete some invalid email addresses by specifying certain addresses in an array in the request body.
3953
3952
 
3954
- An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipients mail server.
3953
+ An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipient's mail server.
3955
3954
 
3956
3955
  Examples include addresses without the @ sign or addresses that include certain special characters and/or spaces. This response can come from our own server or the recipient mail server.
3957
3956
 
@@ -3975,9 +3974,9 @@ puts response.headers
3975
3974
  ```
3976
3975
  ## Retrieve a specific invalid email
3977
3976
 
3978
- **This endpoint allows you to retrieve a specific invalid email addresses.**
3977
+ **This endpoint allows you to retrieve a specific invalid email address.**
3979
3978
 
3980
- An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipients mail server.
3979
+ An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipient's mail server.
3981
3980
 
3982
3981
  Examples include addresses without the @ sign or addresses that include certain special characters and/or spaces. This response can come from our own server or the recipient mail server.
3983
3982
 
@@ -3997,7 +3996,7 @@ puts response.headers
3997
3996
 
3998
3997
  **This endpoint allows you to remove a specific email address from the invalid email address list.**
3999
3998
 
4000
- An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipients mail server.
3999
+ An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipient's mail server.
4001
4000
 
4002
4001
  Examples include addresses without the @ sign or addresses that include certain special characters and/or spaces. This response can come from our own server or the recipient mail server.
4003
4002
 
@@ -4695,7 +4694,7 @@ puts response.headers
4695
4694
  If the maximum number of cancellations/pauses are added, HTTP 400 will
4696
4695
  be returned.
4697
4696
 
4698
- The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header.Scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
4697
+ The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header. Scheduled sends canceled less than 10 minutes before the scheduled time are not guaranteed to be canceled.
4699
4698
 
4700
4699
  ### POST /user/scheduled_sends
4701
4700
 
@@ -4714,7 +4713,7 @@ puts response.headers
4714
4713
 
4715
4714
  **This endpoint allows you to retrieve all cancel/paused scheduled send information.**
4716
4715
 
4717
- The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header.Scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
4716
+ The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header. Scheduled sends canceled less than 10 minutes before the scheduled time are not guaranteed to be canceled.
4718
4717
 
4719
4718
  ### GET /user/scheduled_sends
4720
4719
 
@@ -4729,7 +4728,7 @@ puts response.headers
4729
4728
 
4730
4729
  **This endpoint allows you to update the status of a scheduled send for the given `batch_id`.**
4731
4730
 
4732
- The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header.Scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
4731
+ The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header. Scheduled sends canceled less than 10 minutes before the scheduled time are not guaranteed to be canceled.
4733
4732
 
4734
4733
  ### PATCH /user/scheduled_sends/{batch_id}
4735
4734
 
@@ -4748,7 +4747,7 @@ puts response.headers
4748
4747
 
4749
4748
  **This endpoint allows you to retrieve the cancel/paused scheduled send information for a specific `batch_id`.**
4750
4749
 
4751
- The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header.Scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
4750
+ The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header. Scheduled sends canceled less than 10 minutes before the scheduled time are not guaranteed to be canceled.
4752
4751
 
4753
4752
  ### GET /user/scheduled_sends/{batch_id}
4754
4753
 
@@ -4764,7 +4763,7 @@ puts response.headers
4764
4763
 
4765
4764
  **This endpoint allows you to delete the cancellation/pause of a scheduled send.**
4766
4765
 
4767
- The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header.Scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
4766
+ The Cancel Scheduled Sends feature allows the customer to cancel a scheduled send based on a Batch ID included in the SMTPAPI header. Scheduled sends canceled less than 10 minutes before the scheduled time are not guaranteed to be canceled.
4768
4767
 
4769
4768
  ### DELETE /user/scheduled_sends/{batch_id}
4770
4769
 
@@ -11,7 +11,7 @@ def hello_world
11
11
  # puts JSON.pretty_generate(mail.to_json)
12
12
  puts mail.to_json
13
13
 
14
- sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'], host: 'https://api.sendgrid.com')
14
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
15
15
  response = sg.client.mail._('send').post(request_body: mail.to_json)
16
16
  puts response.status_code
17
17
  puts response.body
@@ -118,7 +118,7 @@ def kitchen_sink
118
118
  # puts JSON.pretty_generate(mail.to_json)
119
119
  puts mail.to_json
120
120
 
121
- sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'], host: 'https://api.sendgrid.com')
121
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
122
122
  response = sg.client.mail._('send').post(request_body: mail.to_json)
123
123
  puts response.status_code
124
124
  puts response.body
@@ -129,8 +129,6 @@ def dynamic_template_data_hello_world
129
129
  mail = Mail.new
130
130
  mail.template_id = '' # a non-legacy template id
131
131
  mail.from = Email.new(email: 'test@example.com')
132
- subject = 'Dynamic Template Data Hello World from the Twilio SendGrid Ruby Library'
133
- mail.subject = subject
134
132
  personalization = Personalization.new
135
133
  personalization.add_to(Email.new(email: 'test1@example.com', name: 'Example User'))
136
134
  personalization.add_dynamic_template_data({
@@ -139,6 +137,15 @@ def dynamic_template_data_hello_world
139
137
  ]
140
138
  })
141
139
  mail.add_personalization(personalization)
140
+
141
+ # puts JSON.pretty_generate(mail.to_json)
142
+ puts mail.to_json
143
+
144
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
145
+ response = sg.client.mail._('send').post(request_body: mail.to_json)
146
+ puts response.status_code
147
+ puts response.body
148
+ puts response.headers
142
149
  end
143
150
 
144
151
  hello_world
@@ -26,7 +26,7 @@ puts response.headers
26
26
  ##################################################
27
27
  # v3 Mail Send #
28
28
  # POST /mail/send #
29
- # This endpoint has a helper, check it out [here](https://github.com/sendgrid/sendgrid-ruby/blob/master/lib/helpers/mail/README.md).
29
+ # This endpoint has a helper, check it out [here](https://github.com/sendgrid/sendgrid-ruby/blob/HEAD/lib/helpers/mail/README.md).
30
30
 
31
31
  data = JSON.parse('{
32
32
  "asm": {
@@ -17,7 +17,7 @@
17
17
  # Installation
18
18
 
19
19
  In addition to the installation instructions in
20
- [the main readme](https://github.com/sendgrid/sendgrid-ruby/tree/master/#installation),
20
+ [the main readme](../../../../README.md#installation),
21
21
  you must also add sinatra to your Gemfile:
22
22
 
23
23
  ```
@@ -47,7 +47,7 @@ bundle install
47
47
  ruby ./lib/sendgrid/helpers/inbound/send.rb ./lib/sendgrid/helpers/inbound/sample_data/default_data.txt
48
48
  ```
49
49
 
50
- More sample data can be found [here](https://github.com/sendgrid/sendgrid-ruby/tree/master/lib/sendgrid/helpers/inbound/sample_data).
50
+ More sample data can be found [here](sample_data).
51
51
 
52
52
  View the results in the first terminal.
53
53
 
@@ -82,11 +82,11 @@ Next, send an email to [anything]@inbound.yourdomain.com, then look at the termi
82
82
 
83
83
  ## app.rb
84
84
 
85
- This module runs a [Sinatra](http://www.sinatrarb.com/) server, that by default (you can change those settings [here](https://github.com/sendgrid/sendgrid-ruby/blob/master/sendgrid/helpers/inbound/config.yml)), listens for POSTs on http://localhost:9292. When the server receives the POST, it parses and prints the key/value data.
85
+ This module runs a [Sinatra](http://www.sinatrarb.com/) server, that by default (you can change those settings [here](config.yml)), listens for POSTs on http://localhost:9292. When the server receives the POST, it parses and prints the key/value data.
86
86
 
87
87
  ## config.yml
88
88
 
89
- This module loads application environment variables (located in [config.yml](https://github.com/sendgrid/sendgrid-ruby/blob/master/sendgrid/helpers/inbound/config.yml)).
89
+ This module loads application environment variables (located in [config.yml](config.yml)).
90
90
 
91
91
  ## send.rb & /sample_data
92
92
 
@@ -95,4 +95,4 @@ This module is used to send sample test data. It is useful for testing and devel
95
95
  <a name="contributing"></a>
96
96
  # Contributing
97
97
 
98
- If you would like to contribute to this project, please see our [contributing guide](https://github.com/sendgrid/sendgrid-ruby/blob/master/CONTRIBUTING.md). Thanks!
98
+ If you would like to contribute to this project, please see our [contributing guide](../../../../CONTRIBUTING.md). Thanks!
@@ -5,6 +5,6 @@
5
5
  <body>
6
6
  <h1>You have successfuly launched the server!</h1>
7
7
 
8
- Check out <a href="https://github.com/sendgrid/sendgrid-ruby/tree/master/sendgrid/helpers/inbound">the documentation</a> on how to use this software to utilize the SendGrid Inbound Parse webhook.
8
+ Check out <a href="https://github.com/sendgrid/sendgrid-ruby/tree/HEAD/sendgrid/helpers/inbound">the documentation</a> on how to use this software to utilize the SendGrid Inbound Parse webhook.
9
9
  </body>
10
10
  </html>
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Quick Start
4
4
 
5
- Run the [example](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples/helpers/mail) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
5
+ Run the [example](../../../../examples/helpers/mail) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
6
6
 
7
7
  ```bash
8
8
  ruby examples/helpers/mail/example.rb
@@ -10,5 +10,5 @@ ruby examples/helpers/mail/example.rb
10
10
 
11
11
  ## Usage
12
12
 
13
- - See the [example](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples/helpers/mail) for a complete working example.
14
- - [Documentation](https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/overview.html)
13
+ - See the [example](../../../../examples/helpers/mail) for a complete working example.
14
+ - [Documentation](https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Quick Start
4
4
 
5
- Run the [example](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples/helpers/settings) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
5
+ Run the [example](../../../../examples/helpers/settings) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
6
6
 
7
7
  ```bash
8
8
  ruby examples/helpers/settings/example.rb
@@ -10,5 +10,5 @@ ruby examples/helpers/settings/example.rb
10
10
 
11
11
  ## Usage
12
12
 
13
- - See the [example](https://github.com/sendgrid/sendgrid-ruby/tree/master/examples/helpers/settings) for a complete working example.
13
+ - See the [example](../../../../examples/helpers/settings) for a complete working example.
14
14
  - [Documentation](https://sendgrid.com/docs/API_Reference/Web_API_v3/Settings/index.html)
@@ -1,3 +1,3 @@
1
1
  module SendGrid
2
- VERSION = '6.3.3'
2
+ VERSION = '6.3.4'
3
3
  end
@@ -2,11 +2,11 @@ Hello!
2
2
 
3
3
  It is now time to implement the final piece of our v2 to v3 migration. Before we dig into writing the code, we would love to get feedback on the following proposed interfaces.
4
4
 
5
- We are starting with the use cases below for the first iteration. (we have completed this work on [our C# library](https://github.com/sendgrid/sendgrid-csharp/blob/master/USE_CASES.md), you can check that out for a sneak peek of where we are heading).
5
+ We are starting with the use cases below for the first iteration. (we have completed this work on [our C# library](https://github.com/sendgrid/sendgrid-csharp/blob/HEAD/USE_CASES.md), you can check that out for a sneak peek of where we are heading).
6
6
 
7
7
  # Send a Single Email to a Single Recipient
8
8
 
9
- The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
9
+ The following code assumes you are storing the API key in an [environment variable (recommended)](TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
10
10
 
11
11
  ```ruby
12
12
  require 'sendgrid-ruby'
@@ -37,7 +37,7 @@ puts response.headers
37
37
 
38
38
  # Send a Single Email to Multiple Recipients
39
39
 
40
- The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
40
+ The following code assumes you are storing the API key in an [environment variable (recommended)](TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
41
41
 
42
42
  ```ruby
43
43
  require 'sendgrid-ruby'
@@ -72,7 +72,7 @@ puts response.headers
72
72
 
73
73
  # Send Multiple Emails to Multiple Recipients
74
74
 
75
- The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
75
+ The following code assumes you are storing the API key in an [environment variable (recommended)](TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
76
76
 
77
77
  ```ruby
78
78
  require 'sendgrid-ruby'
@@ -119,7 +119,7 @@ puts response.headers
119
119
 
120
120
  # Kitchen Sink - an example with all settings used
121
121
 
122
- The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
122
+ The following code assumes you are storing the API key in an [environment variable (recommended)](TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
123
123
 
124
124
  ```ruby
125
125
  client = SendGrid::Client.new(api_key: ENV['SENDGRID_API_KEY'])
@@ -233,7 +233,7 @@ msg.set_send_at(1461775052, 1)
233
233
 
234
234
  msg.set_subject('this subject overrides the Global Subject on the second Personalization', 1)
235
235
 
236
- # The values below this comment are global to entire message
236
+ # The values below this comment are global to the entire message
237
237
 
238
238
  msg.set_from(SendGrid::Email.new('test0@example.com', 'Example User0'))
239
239
 
@@ -295,7 +295,7 @@ puts response.headers
295
295
 
296
296
  # Attachments
297
297
 
298
- The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
298
+ The following code assumes you are storing the API key in an [environment variable (recommended)](TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
299
299
 
300
300
  ```ruby
301
301
  client = SendGrid::Client.new(api_key: ENV['SENDGRID_API_KEY'])
@@ -326,7 +326,7 @@ puts response.headers
326
326
 
327
327
  # Transactional Templates
328
328
 
329
- The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-ruby/blob/master/TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
329
+ The following code assumes you are storing the API key in an [environment variable (recommended)](TROUBLESHOOTING.md#environment-variables-and-your-sendgrid-api-key). If you don't have your key stored in an environment variable, you can assign it directly to `api_key` for testing purposes.
330
330
 
331
331
  For this example, we assume you have created a [transactional template](https://sendgrid.com/docs/User_Guide/Transactional_Templates/index.html). Following is the template content we used for testing.
332
332
 
@@ -347,7 +347,7 @@ Template Body:
347
347
  ```html
348
348
  <html>
349
349
  <head>
350
- <title></title>
350
+ <title></title>
351
351
  </head>
352
352
  <body>
353
353
  Hello -name-,
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rubocop'
29
29
  spec.add_development_dependency 'minitest', '~> 5.9'
30
30
  spec.add_development_dependency 'rack'
31
- spec.add_development_dependency 'simplecov'
31
+ spec.add_development_dependency 'simplecov', '~> 0.18.5'
32
32
  end
@@ -34,7 +34,7 @@ class TestAPI < MiniTest::Test
34
34
  assert_equal(test_headers, sg.request_headers)
35
35
  assert_equal("v3", sg.version)
36
36
  assert_equal(subuser, sg.impersonate_subuser)
37
- assert_equal("6.3.3", SendGrid::VERSION)
37
+ assert_equal("6.3.4", SendGrid::VERSION)
38
38
  assert_instance_of(SendGrid::Client, sg.client)
39
39
  end
40
40
 
Binary file
@@ -1,5 +1,5 @@
1
1
  # How to Setup a Domain Authentication
2
2
 
3
- You can find documentation for how to setup a domain authentication via the UI [here](https://sendgrid.com/docs/ui/account-and-settings/how-to-set-up-domain-authentication/) and via API [here](https://github.com/sendgrid/sendgrid-ruby/blob/master/USAGE.md#sender-authentication).
3
+ You can find documentation for how to setup a domain authentication via the UI [here](https://sendgrid.com/docs/ui/account-and-settings/how-to-set-up-domain-authentication/) and via API [here](../USAGE.md#sender-authentication).
4
4
 
5
5
  Find more information about all of Twilio SendGrid's authentication related documentation [here](https://sendgrid.com/docs/ui/account-and-settings/).
@@ -1,6 +1,6 @@
1
1
  # How to View Email Statistics
2
2
 
3
- You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](https://github.com/sendgrid/sendgrid-ruby/blob/master/USAGE.md#stats).
3
+ You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](../USAGE.md#stats).
4
4
 
5
5
  Alternatively, we can post events to a URL of your choice via our [Event Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/event.html) about events that occur as Twilio SendGrid processes your email.
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendgrid-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.3
4
+ version: 6.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elmer Thomas
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-07-22 00:00:00.000000000 Z
13
+ date: 2020-08-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby_http_client
@@ -148,16 +148,16 @@ dependencies:
148
148
  name: simplecov
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - ">="
151
+ - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '0'
153
+ version: 0.18.5
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ">="
158
+ - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '0'
160
+ version: 0.18.5
161
161
  description: Official Twilio SendGrid Gem to Interact with Twilio SendGrids API in
162
162
  native Ruby
163
163
  email: help@twilio.com
@@ -174,6 +174,7 @@ files:
174
174
  - CODE_OF_CONDUCT.md
175
175
  - CONTRIBUTING.md
176
176
  - Dockerfile
177
+ - FIRST_TIMERS.md
177
178
  - Gemfile
178
179
  - ISSUE_TEMPLATE.md
179
180
  - LICENSE.md
@@ -282,6 +283,8 @@ files:
282
283
  - spec/sendgrid/sendgrid_spec.rb
283
284
  - spec/sendgrid/twilio_email_spec.rb
284
285
  - spec/spec_helper.rb
286
+ - static/img/github-fork.png
287
+ - static/img/github-sign-up.png
285
288
  - test/sendgrid/helpers/mail/test_attachment.rb
286
289
  - test/sendgrid/helpers/mail/test_category.rb
287
290
  - test/sendgrid/helpers/mail/test_email.rb
@@ -289,6 +292,7 @@ files:
289
292
  - test/sendgrid/helpers/mail/test_personalizations.rb
290
293
  - test/sendgrid/permissions/test_scopes.rb
291
294
  - test/sendgrid/test_sendgrid-ruby.rb
295
+ - twilio_sendgrid_logo.png
292
296
  - use-cases/README.md
293
297
  - use-cases/domain-authentication.md
294
298
  - use-cases/email-statistics.md