Completed
Push — master ( ff247a...b96a39 )
by Tomaz
23s
created

ClientHistoryAction.run()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
c 1
b 1
f 0
dl 0
loc 2
rs 10
1
from lib.sensu import SensuAction
2
3
__all__ = [
4
    'ClientHistoryAction'
5
]
6
7
8
class ClientHistoryAction(SensuAction):
9
    def run(self, client):
10
        return self.api.get_client_history(client)
11