Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | # Licensed to the StackStorm, Inc ('StackStorm') under one or more |
||
18 | class ScheduleWhoIsOnCallAction(OpsGenieBaseAction): |
||
19 | def run(self): |
||
20 | """ |
||
21 | """ |
||
22 | |||
23 | payload = {"apiKey": self.api_key} |
||
24 | |||
25 | data = self._req("GET", |
||
26 | "v1/json/schedule/whoIsOnCall", |
||
27 | payload=payload) |
||
28 | |||
29 | return data |
||
30 |