Skip to content

Commit

Permalink
Merge pull request #270 from ballerina-platform/examples
Browse files Browse the repository at this point in the history
Add configurables to quickstart step
  • Loading branch information
niveathika authored May 30, 2024
2 parents abca8c7 + 225d179 commit 685b81f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ import ballerinax/googleapis.gmail;
Create a `gmail:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it.

```ballerina
configurable string refreshToken = ?;
configurable string clientId = ?;
configurable string clientSecret = ?;
gmail:Client gmail = check new gmail:Client(
config = {
auth: {
Expand Down
4 changes: 4 additions & 0 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ import ballerinax/googleapis.gmail;
Create a `gmail:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it.

```ballerina
configurable string refreshToken = ?;
configurable string clientId = ?;
configurable string clientSecret = ?;
gmail:Client gmail = check new gmail:Client(
config = {
auth: {
Expand Down
4 changes: 4 additions & 0 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ import ballerinax/googleapis.gmail;
Create a `gmail:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it.

```ballerina
configurable string refreshToken = ?;
configurable string clientId = ?;
configurable string clientSecret = ?;
gmail:Client gmail = check new gmail:Client(
config = {
auth: {
Expand Down

0 comments on commit 685b81f

Please # to comment.