Skip to content

Commit

Permalink
new ip address setting support in api
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Aug 31, 2016
1 parent aa15223 commit c85336f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/budy/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ def set_store_billing_order(self, key):
contents = self.put(url)
return contents

def set_ip_address_order(self, key, payload):
url = self.base_url + "orders/%s/ip_address" % key
contents = self.put(url, data_j = payload)
return contents

def set_email_order(self, key, payload):
url = self.base_url + "orders/%s/email" % key
contents = self.put(url, data_j = payload)
Expand Down

0 comments on commit c85336f

Please sign in to comment.