Skip to content

Commit

Permalink
add figure.albums.getPortraits. Bump to version 0.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitguigal committed Nov 2, 2017
1 parent 6263700 commit 5cbf8a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion lib/resources/Albums.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ module.exports = FigureResource.extend({
path: 'users/me/albums',
includeBasic: [
'get', 'edit', 'create', 'getAll', 'del'
]
],

getPortraits: figureMethod({
method: 'GET',
path: '/{slug}/portraits',
urlParams: ['slug']
}),

});
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.15",
"version": "0.2.16",
"description": "The Figure JavaScript SDK",
"main": "lib/figure.js",
"homepage": "https://github.com/postcard/figure-sdk-node",
Expand Down

0 comments on commit 5cbf8a4

Please sign in to comment.