smplkit 3.0.80 → 3.0.81
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2f5f02fcf749db08d30fde0b9f78ab8eb254fbf25eb3c4ad1a9e8a899f8c87a
|
|
4
|
+
data.tar.gz: 66410f6409aec922d797096e3814d246f4d4fb41cd68cd5ae15bcc9cf2327f35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f6a209b0799ccd037ebb93d286182eb30449e1491a5d86469b6a9a1c4172ab0a917312ea62a53246090139b818060602eb465b00414dbf80e56e6b45d502752
|
|
7
|
+
data.tar.gz: d4c83df189876e6e40a380df940cf772d02f742f7baee0f6efc68d0103a41762b9f9223e1263048c7895d62b8f5a87a9a46b37d7f90b52adbe883bdf4ad58f8a
|
|
@@ -20,8 +20,9 @@ module SmplkitGeneratedClient::App
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Delete Current Account
|
|
23
|
-
#
|
|
23
|
+
# Delete the current account and all associated data. By default the account is soft-deleted and may be restored by contacting support. Set `purge=true` to permanently and irreversibly erase the account and all of its data across every service, with no possibility of recovery.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Boolean] :purge When true, permanently and irreversibly erase the account and all of its data with no possibility of recovery. When false (the default), the account is soft-deleted and may be restored. (default to false)
|
|
25
26
|
# @return [nil]
|
|
26
27
|
def delete_account(opts = {})
|
|
27
28
|
delete_account_with_http_info(opts)
|
|
@@ -29,8 +30,9 @@ module SmplkitGeneratedClient::App
|
|
|
29
30
|
end
|
|
30
31
|
|
|
31
32
|
# Delete Current Account
|
|
32
|
-
#
|
|
33
|
+
# Delete the current account and all associated data. By default the account is soft-deleted and may be restored by contacting support. Set `purge=true` to permanently and irreversibly erase the account and all of its data across every service, with no possibility of recovery.
|
|
33
34
|
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [Boolean] :purge When true, permanently and irreversibly erase the account and all of its data with no possibility of recovery. When false (the default), the account is soft-deleted and may be restored. (default to false)
|
|
34
36
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
35
37
|
def delete_account_with_http_info(opts = {})
|
|
36
38
|
if @api_client.config.debugging
|
|
@@ -41,6 +43,7 @@ module SmplkitGeneratedClient::App
|
|
|
41
43
|
|
|
42
44
|
# query parameters
|
|
43
45
|
query_params = opts[:query_params] || {}
|
|
46
|
+
query_params[:'purge'] = opts[:'purge'] if !opts[:'purge'].nil?
|
|
44
47
|
|
|
45
48
|
# header parameters
|
|
46
49
|
header_params = opts[:header_params] || {}
|
|
@@ -34,8 +34,9 @@ describe 'AccountApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for delete_account
|
|
36
36
|
# Delete Current Account
|
|
37
|
-
#
|
|
37
|
+
# Delete the current account and all associated data. By default the account is soft-deleted and may be restored by contacting support. Set `purge=true` to permanently and irreversibly erase the account and all of its data across every service, with no possibility of recovery.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Boolean] :purge When true, permanently and irreversibly erase the account and all of its data with no possibility of recovery. When false (the default), the account is soft-deleted and may be restored.
|
|
39
40
|
# @return [nil]
|
|
40
41
|
describe 'delete_account test' do
|
|
41
42
|
it 'should work' do
|