Skip to content

Commit

Permalink
Merge pull request #583 from adamreisnz/cleanup
Browse files Browse the repository at this point in the history
Fix readme instructions and replace stray tab indentation by spaces
  • Loading branch information
thinkingserious authored Oct 22, 2018
2 parents d98e709 + 05a4fc2 commit ed163d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ client.request(request)

## Add a Custom Default Header
```js
sgClient.setDefaultHeader('User-Agent', 'Some user agent string');
client.setDefaultHeader('User-Agent', 'Some user agent string');
```

## Change Request Defaults
```js
sgClient.setDefaultRequest('baseUrl', 'https://api.sendgrid.com/');
client.setDefaultRequest('baseUrl', 'https://api.sendgrid.com/');
```

## Overwrite Promise Implementation
Expand Down
12 changes: 6 additions & 6 deletions packages/helpers/classes/attachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const deepClone = require('../helpers/deep-clone');
*/
class Attachment {

/**
* Constructor
*/
/**
* Constructor
*/
constructor(data) {

//Create from data
Expand Down Expand Up @@ -117,9 +117,9 @@ class Attachment {
this.contentId = contentId;
}

/**
* To JSON
*/
/**
* To JSON
*/
toJSON() {

//Extract properties from self
Expand Down

0 comments on commit ed163d9

Please sign in to comment.