Skip to content

Commit 127c31e

Browse files
Version Bump v3.0.0: full v3 Web API support
1 parent cf07583 commit 127c31e

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ source ./sendgrid.env
8989

9090
##### Execute: #####
9191

92-
See the [examples folder](https://github.com/sendgrid/sendgrid-java/tree/v3beta/examples) to get started quickly.
92+
See the [examples folder](https://github.com/sendgrid/sendgrid-java/tree/master/examples) to get started quickly.
9393

9494
Check out the documentation for [Web API v3 endpoints](https://sendgrid.com/docs/API_Reference/Web_API_v3/index.html).
9595

@@ -124,9 +124,9 @@ The interface to the SendGrid API.
124124

125125
All PRs require passing tests before the PR will be reviewed.
126126

127-
All test files are in the [`tests`](https://github.com/sendgrid/sendgrid-java/tree/v3beta/src/test/java/com/sendgrid) directory.
127+
All test files are in the [`tests`](https://github.com/sendgrid/sendgrid-java/tree/master/src/test/java/com/sendgrid) directory.
128128

129-
For the purposes of contributing to this repo, please update the [`SendGridTest.java`](https://github.com/sendgrid/sendgrid-java/tree/v3beta/src/test/java/com/sendgrid/SendGridTest.java) file with unit tests as you modify the code.
129+
For the purposes of contributing to this repo, please update the [`SendGridTest.java`](https://github.com/sendgrid/sendgrid-java/tree/master/src/test/java/com/sendgrid/SendGridTest.java) file with unit tests as you modify the code.
130130

131131
```bash
132132
./gradlew test -i

examples/helpers/mail/Example.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,8 @@ public static void baselineExample() throws IOException {
228228
Mail helloWorld = buildHelloEmail();
229229
try {
230230
request.method = Method.POST;
231-
request.endpoint = "mail/send/beta";
231+
request.endpoint = "mail/send";
232232
request.requestBody = helloWorld.build();
233-
System.out.println(request.requestBody); // REMOVE
234233
Response response = sg.api(request);
235234
System.out.println(response.statusCode);
236235
System.out.println(response.responseBody);
@@ -248,9 +247,8 @@ public static void kitchenSinkExample() throws IOException {
248247
Mail kitchenSink = buildKitchenSink();
249248
try {
250249
request.method = Method.POST;
251-
request.endpoint = "mail/send/beta";
250+
request.endpoint = "mail/send";
252251
request.requestBody = kitchenSink.build();
253-
System.out.println(request.requestBody); // REMOVE
254252
Response response = sg.api(request);
255253
System.out.println(response.statusCode);
256254
System.out.println(response.responseBody);

0 commit comments

Comments
 (0)