Skip to content

Commit

Permalink
Merge pull request #5 from hivesolutions/dev_tsilva_avatar
Browse files Browse the repository at this point in the history
added avatar api method
  • Loading branch information
joamag committed May 9, 2016
2 parents 2bdf4a0 + fc9ae4a commit 31d8dae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/budy/account.py
Expand Up @@ -58,6 +58,11 @@ def update_me_account(self, payload):
contents = self.put(url, data_j = payload)
return contents

def avatar_me_account(self):
url = self.base_url + "accounts/me/avatar"
contents = self.get(url)
return contents

def orders_me_account(self):
url = self.base_url + "accounts/me/orders"
contents = self.get(url)
Expand Down

0 comments on commit 31d8dae

Please sign in to comment.