equal
deleted
inserted
replaced
1 class Status: |
1 class Status: |
2 '''status for one recipient''' |
2 '''status object -- the resulat of one :class:`iro.controller.task.Task`.''' |
3 def __init__(self, provider, route, costs=0.0, count=0, exID=None): |
3 def __init__(self, provider, route, costs=0.0, count=0, exID=None): |
|
4 """ |
|
5 :param `iro.offer.provider.Provider` provider: a provider object |
|
6 :param string route: a route of the provider |
|
7 :param `decimal.Decimal` costs: costs for sending this message |
|
8 :param integer count: count of sended messages |
|
9 :param string exID: ID of external API |
|
10 """ |
4 self.provider = provider |
11 self.provider = provider |
5 self.route = route |
12 self.route = route |
6 |
13 |
7 self.costs = costs |
14 self.costs = costs |
8 self.count = count |
15 self.count = count |