You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ All notable changes to this project will be documented in this file.
120
120
[2019-06-04] Version 6.0.0
121
121
--------------------------
122
122
### 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!
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](UPGRADE.md). Big thanks to [@jjb](https://github.com/jjb) for the PR!
124
124
125
125
### Added
126
126
-[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 +187,7 @@ All notable changes to this project will be documented in this file.
187
187
-`mail.headers` becomes `mail.add_header()`
188
188
-`mail.categories` becomes `mail.add_category()`
189
189
-`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).
190
+
- For a full example of usage, please [see here](examples/helpers/mail/example.rb#L21).
191
191
192
192
## [4.3.3] - 2017-5-2
193
193
### Update
@@ -210,7 +210,7 @@ All notable changes to this project will be documented in this file.
210
210
## [4.3.0] - 2017-4-12 ##
211
211
### Added
212
212
-#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
213
+
- See the [helper README](lib/sendgrid/helpers/settings) for details
214
214
- Thanks to [Kyle Kern](https://github.com/kernkw) for the pull request!
215
215
216
216
## [4.2.1] - 2017-4-10 ##
@@ -262,15 +262,15 @@ All notable changes to this project will be documented in this file.
262
262
## [4.0.3] - 2016-08-24 ##
263
263
### Added
264
264
- 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
265
+
- Added a [USE_CASES.md](USE_CASES.md) section, with the first use case example for transactional templates
266
266
267
267
## [4.0.2] - 2016-07-26 ##
268
268
### Fixed
269
269
- Example and USAGE DELETE calls were missing example payloads
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -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
@@ -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.
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).
18
18
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](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.
20
20
21
21
Please browse the rest of this README for further details.
22
22
@@ -42,7 +42,7 @@ We appreciate your continued support, thank you!
42
42
43
43
## Prerequisites
44
44
45
-
- 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))
46
46
- The Twilio SendGrid service, starting at the [free level](https://sendgrid.com/free?source=sendgrid-ruby)
47
47
48
48
## Setup Environment Variables
@@ -83,7 +83,7 @@ gem install sendgrid-ruby
83
83
84
84
## Hello Email
85
85
86
-
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):
87
87
88
88
### With Mail Helper Class
89
89
@@ -105,11 +105,11 @@ puts response.parsed_body
105
105
puts response.headers
106
106
```
107
107
108
-
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).
109
109
110
110
### Without Mail Helper Class
111
111
112
-
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):
113
113
114
114
```ruby
115
115
require'sendgrid-ruby'
@@ -171,29 +171,29 @@ puts response.headers
171
171
<aname="inbound"></a>
172
172
# Processing Inbound Email
173
173
174
-
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.
-[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)
183
-
-[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.
-[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)
185
185
186
186
<aname="use_cases"></a>
187
187
# Use Cases
188
188
189
-
[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.
190
190
191
191
<aname="announcements"></a>
192
192
# Announcements
193
193
194
194
Please see our announcement regarding [breaking changes](https://github.com/sendgrid/sendgrid-ruby/issues/94). Your support is appreciated!
195
195
196
-
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.
197
197
198
198
<aname="roadmap"></a>
199
199
# Roadmap
@@ -203,17 +203,17 @@ If you are interested in the future direction of this project, please take a loo
203
203
<aname="contribute"></a>
204
204
# How to Contribute
205
205
206
-
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.
Copy file name to clipboardExpand all lines: TROUBLESHOOTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ end
73
73
<aname="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 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](CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-ruby/releases) section.
77
77
78
78
<aname="environment"></a>
79
79
## Environment Variables and Your Twilio SendGrid API Key
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
<aname="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!
Copy file name to clipboardExpand all lines: lib/sendgrid/helpers/inbound/public/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,6 @@
5
5
<body>
6
6
<h1>You have successfuly launched the server!</h1>
7
7
8
-
Check out <ahref="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 <ahref="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.
Copy file name to clipboardExpand all lines: lib/sendgrid/helpers/mail/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
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
9
9
```
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.
13
+
- See the [example](../../../../examples/helpers/mail) for a complete working example.
Copy file name to clipboardExpand all lines: lib/sendgrid/helpers/settings/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
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
9
9
```
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.
0 commit comments