Fixed #5 - Wrong API-Doc for Api /buy/

master
Sebastian Lohff 13 years ago
parent bc18ed6661
commit b458cfaead

@ -76,7 +76,7 @@ class BuyableItemHandler(BaseHandler):
def buyItem(self, request, itemId):
"""Buy a :class:`Buyable <buyable.models.Buyable>` item.
- deposit: Set to 0 for no deposit, 1 for item+deposit and 2 for deposit only (default 0)
- deposit: Set to 0 for no deposit, 1 for deposit and 2 for item+deposit (default 0)
- amount: amount of items to buy (default 1)
"""
if not itemId:

@ -67,7 +67,7 @@ to the handler or the responsible method for more documentation or code.
========= =======================================================
Parameter Description
========= =======================================================
deposit Set to 0 for no deposit, 1 for item+deposit and 2 for deposit only (default 0)
deposit Set to 0 for no deposit, 1 for deposit and 2 for item+deposit (default 0)
amount amount of items to buy (default 1)
========= =======================================================

Loading…
Cancel
Save