Skip to content

Commit

Permalink
add change_pos functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
skjbulcher committed Oct 18, 2016
1 parent d518400 commit 4efab45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions trello/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,12 @@ def remove_attachment(self, attachment_id):
'/cards/' + self.id + '/attachments/' + attachment_id,
http_method='DELETE')

def change_pos(self, position):
self.client.fetch_json(
'/cards/' + self.id + '/pos',
http_method='PUT',
post_args={'value': position})

def change_list(self, list_id):
self.client.fetch_json(
'/cards/' + self.id + '/idList',
Expand Down

0 comments on commit 4efab45

Please sign in to comment.