freshdesk-rest 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a91a877ed5848074f846fc83cc85b82d94dd604f7889e277e7aa8ec5a7c785d
4
- data.tar.gz: 7aa93e67667119908453f47735eae76573c5ac0ebe890ce9667c0fde57dc418d
3
+ metadata.gz: ba7686f61c35d2af5c5a159ca56f00f73db7ad61d28a33d9b6f51eefbd9d723d
4
+ data.tar.gz: 280a3208233d78d5c76f3e978f7bc47e54073cd0a58143416b4f2f7437324aa7
5
5
  SHA512:
6
- metadata.gz: 42f564d1a0f0fe7fce5a9eeb320b479c67ce79048aee25cfa86033973b31512e05bc925b5207055fb98adf1ddd0ccf26f998d43958e6746797e8376ce5bc79db
7
- data.tar.gz: 1bc8f392c8509a14547d46a584decfdcd0554f8836a1f03c02a3ee4947a7a7baebbb21dce3bd91d811e885abaec274de53e9ec4f835e4d25693cf79cd5374cdd
6
+ metadata.gz: 695926399da6be98272a9e5343f16d0707ac067127010f74e7f01861ce0fdfc45a11e4e1b639605c6c0a33d14ba9b9a51d21e83e1e43ab89ba6bcd1ec90ee917
7
+ data.tar.gz: '09a21453b83810bc8fac5cee2e0a9ad16cc3acb3311003ddddd65281a3e5aac607e88a6e1a95f33d8a8d8441dc07e02e36b317df8569cb8e488579045410adc1'
@@ -32,6 +32,11 @@ module Freshdesk
32
32
  def delete(id:)
33
33
  Parser.parse(@client.delete("#{@path}/#{id}"))
34
34
  end
35
+
36
+ def hard_delete(id:, force: false)
37
+ force_params = force ? { force: true } : {}
38
+ Parser.parse(@client.delete(path_with_params([@path, id, 'hard_delete'], force_params)))
39
+ end
35
40
  end
36
41
  end
37
42
  end
@@ -1,5 +1,5 @@
1
1
  module Freshdesk
2
2
  module Rest
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freshdesk-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helpling
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2024-02-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A ruby gem to interact with Freshdesk REST resources
14
14
  email: tech@helpling.com
@@ -34,7 +34,7 @@ licenses:
34
34
  - MIT
35
35
  metadata:
36
36
  source_code_uri: https://github.com/Helpling/freshdesk-rest
37
- post_install_message:
37
+ post_install_message:
38
38
  rdoc_options: []
39
39
  require_paths:
40
40
  - lib
@@ -49,8 +49,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  requirements: []
52
- rubygems_version: 3.2.33
53
- signing_key:
52
+ rubygems_version: 3.1.6
53
+ signing_key:
54
54
  specification_version: 4
55
55
  summary: Freshdesk rest api resource collection
56
56
  test_files: []