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 +4 -4
- data/lib/freshdesk-rest/resource/contact.rb +5 -0
- data/lib/freshdesk-rest/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba7686f61c35d2af5c5a159ca56f00f73db7ad61d28a33d9b6f51eefbd9d723d
|
4
|
+
data.tar.gz: 280a3208233d78d5c76f3e978f7bc47e54073cd0a58143416b4f2f7437324aa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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:
|
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.
|
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: []
|