Skip to content

Commit 61c2cca

Browse files
Merge pull request #45 from renderforest/expose-supports-api
API: expose supports API.
2 parents 656a8bb + f44fb6e commit 61c2cca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/lib/renderforest.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const Http = require('./http/http')
1010

1111
const Fonts = require('./resources/fonts')
1212
const Projects = require('./resources/projects')
13+
const Supports = require('./resources/supports')
1314
const Templates = require('./resources/templates')
1415
const Users = require('./resources/users')
1516

@@ -87,6 +88,15 @@ class Renderforest {
8788
return Projects.duplicateProject(payload)
8889
}
8990

91+
/**
92+
* @param {Object} payload
93+
* @returns {Promise.<Object>}
94+
* @description Add Supports Ticket.
95+
*/
96+
addSupportsTicket (payload) {
97+
return Supports.addSupportsTicket(payload)
98+
}
99+
90100
/**
91101
* @returns {Promise.<Object>}
92102
* @description Get Current User.

0 commit comments

Comments
 (0)