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

This commit is contained in:
Sebastian Lohff 2011-10-21 01:25:52 +02:00
parent bc18ed6661
commit b458cfaead
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class BuyableItemHandler(BaseHandler):
def buyItem(self, request, itemId): def buyItem(self, request, itemId):
"""Buy a :class:`Buyable <buyable.models.Buyable>` item. """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) - amount: amount of items to buy (default 1)
""" """
if not itemId: if not itemId:

View File

@ -67,7 +67,7 @@ to the handler or the responsible method for more documentation or code.
========= ======================================================= ========= =======================================================
Parameter Description 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) amount amount of items to buy (default 1)
========= ======================================================= ========= =======================================================