Completed
Push — master ( c6c370...5ad28f )
by Edward
20s
created

CreateTicketAction.run()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
cc 1
c 2
b 0
f 1
dl 0
loc 2
rs 10
1
from lib.zendesk import ZendeskAction
2
3
__all__ = [
4
    'CreateTicketAction'
5
]
6
7
8
class CreateTicketAction(ZendeskAction):
9
    def run(self, subject, description):
10
        return self.create_ticket(subject, description)
11