sirportly 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sirportly/data_objects/ticket.rb +5 -0
- data/lib/sirportly.rb +1 -1
- metadata +1 -1
@@ -46,6 +46,11 @@ module Sirportly
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
+
# Permanently removes the ticket
|
50
|
+
def destroy
|
51
|
+
client.request('tickets/permanently_delete', {:ticket => @attributes['reference']})
|
52
|
+
end
|
53
|
+
|
49
54
|
# Creates a new ticket and returns a ticket object
|
50
55
|
def self.create(client, params = {})
|
51
56
|
if req = client.request('tickets/submit', format_params(params))
|
data/lib/sirportly.rb
CHANGED