Skip to content

Commit

Permalink
portraits/code/resize -> portraits/code/photoshop-hook. Bump to versi…
Browse files Browse the repository at this point in the history
…on 0.1.5
  • Loading branch information
benoitguigal committed Jun 16, 2016
1 parent e05696a commit 2954a7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion figure/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


__version__ = "0.1.4"
__version__ = "0.1.5"

token = None
api_base = 'https://api.figuredevices.com'
Expand Down
4 changes: 2 additions & 2 deletions figure/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ def get_all_public(cls, token=None, **params):
return requestor.request('get', url, **params)

@classmethod
def resize(cls, code, token=None, **params):
def photoshop_hook(cls, code, token=None, **params):
requestor = api_requestor.APIRequestor(token)
url = '%s/%s' % (cls.instance_url(code), 'resize')
url = '%s/%s' % (cls.instance_url(code), 'photoshop-hook')
return requestor.request('post', url, **params)


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_version(package):
# The project's main homepage.
url='https://github.com/Postcard/figure-sdk-python',

download_url='https://github.com/Postcard/figure-sdk-python/archive/v0.1.4.tar.gz',
download_url='https://github.com/Postcard/figure-sdk-python/archive/v0.1.5.tar.gz',

# Author details
author='Figure',
Expand Down

0 comments on commit 2954a7f

Please sign in to comment.