| Conditions | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | from st2actions.runners.pythonrunner import Action |
||
| 7 | def __init__(self, config): |
||
| 8 | super(Icinga2Action, self).__init__(config) |
||
| 9 | self.body = '' |
||
| 10 | self.error = 0 |
||
| 11 | self.api_url = config['api_url'] |
||
| 12 | self.api_user = config['api_user'] |
||
| 13 | self.api_password = config['api_password'] |
||
| 14 | self.method = 'get' |
||
| 15 | self.path = '' |
||
| 16 | |||
| 44 |