sirportly 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -27,7 +27,7 @@ require 'sirportly/data_objects/ticket_update'
27
27
  require 'sirportly/data_objects/user'
28
28
 
29
29
  module Sirportly
30
- VERSION = '1.2.3'
30
+ VERSION = '1.2.4'
31
31
 
32
32
  class << self
33
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sirportly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: