--- a/iro/model/status.py Thu Mar 29 17:33:10 2012 +0200
+++ b/iro/model/status.py Thu Mar 29 18:27:15 2012 +0200
@@ -1,6 +1,13 @@
class Status:
- '''status for one recipient'''
+ '''status object -- the resulat of one :class:`iro.controller.task.Task`.'''
def __init__(self, provider, route, costs=0.0, count=0, exID=None):
+ """
+ :param `iro.offer.provider.Provider` provider: a provider object
+ :param string route: a route of the provider
+ :param `decimal.Decimal` costs: costs for sending this message
+ :param integer count: count of sended messages
+ :param string exID: ID of external API
+ """
self.provider = provider
self.route = route