Skip to content

Commit

Permalink
add submit place endpoint. Bump to version 0.2.30
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorien Tardif committed Apr 11, 2018
1 parent 08830ec commit 1fc8a31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion lib/resources/SubmittedPlaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@ module.exports = FigureResource.extend({
path: 'submitted_places',
includeBasic: [
'create', 'get', 'getAll', 'edit', 'del'
]
],

submit: figureMethod({
method: 'POST',
path: '/{google_places_id}/submit',
urlParams: ['google_places_id']
})

});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figure-sdk",
"version": "0.2.30",
"version": "0.2.31",
"description": "The Figure JavaScript SDK",
"main": "lib/figure.js",
"homepage": "https://github.com/postcard/figure-sdk-node",
Expand Down

0 comments on commit 1fc8a31

Please sign in to comment.