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

UpdateTicketAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 3
Bugs 0 Features 2
Metric Value
c 3
b 0
f 2
dl 0
loc 3
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 2 1
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