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

UpdateTicketAction.run()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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