SematextCloud 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/SematextCloud/api/apps_api.rb +52 -0
- data/lib/SematextCloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06f92c4fe56b7a4f632dae41665120d92b007cd50c9b0ba0a772ef728f2b5f44
|
4
|
+
data.tar.gz: f6d9013cd4bf2100ed3c1f3f7551265311c443b716c0d38df5d599d4571670f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c98ce23d06a0be0c785a945416ce7ab815440b23ac899697ac44adaf91678f70d665e88f46639f102908bd13ecf53e7bbe87fcdc151d6f76fc39abba72045e32
|
7
|
+
data.tar.gz: 922ffa0cac438d054f92bead42a13cc9ad0325642ac646010f64777c376486539ce4bb1c8c9aa18cde2b68041bd4287dc0b83b5fc352798eacdb971e62ace35a
|
@@ -19,6 +19,58 @@ module SematextCloud
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# delete
|
23
|
+
# @param any_state_app_id anyStateAppId
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @return [GenericApiResponse]
|
26
|
+
def delete_using_delete(any_state_app_id, opts = {})
|
27
|
+
data, _status_code, _headers = delete_using_delete_with_http_info(any_state_app_id, opts)
|
28
|
+
data
|
29
|
+
end
|
30
|
+
|
31
|
+
# delete
|
32
|
+
# @param any_state_app_id anyStateAppId
|
33
|
+
# @param [Hash] opts the optional parameters
|
34
|
+
# @return [Array<(GenericApiResponse, Fixnum, Hash)>] GenericApiResponse data, response status code and response headers
|
35
|
+
def delete_using_delete_with_http_info(any_state_app_id, opts = {})
|
36
|
+
if @api_client.config.debugging
|
37
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.delete_using_delete ...'
|
38
|
+
end
|
39
|
+
# verify the required parameter 'any_state_app_id' is set
|
40
|
+
if @api_client.config.client_side_validation && any_state_app_id.nil?
|
41
|
+
fail ArgumentError, "Missing the required parameter 'any_state_app_id' when calling AppsApi.delete_using_delete"
|
42
|
+
end
|
43
|
+
# resource path
|
44
|
+
local_var_path = '/users-web/api/v3/apps/{anyStateAppId}'.sub('{' + 'anyStateAppId' + '}', any_state_app_id.to_s)
|
45
|
+
|
46
|
+
# query parameters
|
47
|
+
query_params = {}
|
48
|
+
|
49
|
+
# header parameters
|
50
|
+
header_params = {}
|
51
|
+
# HTTP header 'Accept' (if needed)
|
52
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
53
|
+
# HTTP header 'Content-Type'
|
54
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
55
|
+
|
56
|
+
# form parameters
|
57
|
+
form_params = {}
|
58
|
+
|
59
|
+
# http body (model)
|
60
|
+
post_body = nil
|
61
|
+
auth_names = ['api_key']
|
62
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
63
|
+
:header_params => header_params,
|
64
|
+
:query_params => query_params,
|
65
|
+
:form_params => form_params,
|
66
|
+
:body => post_body,
|
67
|
+
:auth_names => auth_names,
|
68
|
+
:return_type => 'GenericApiResponse')
|
69
|
+
if @api_client.config.debugging
|
70
|
+
@api_client.config.logger.debug "API called: AppsApi#delete_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
71
|
+
end
|
72
|
+
return data, status_code, headers
|
73
|
+
end
|
22
74
|
# Get all App types supported for the account identified with apiKey
|
23
75
|
# @param [Hash] opts the optional parameters
|
24
76
|
# @return [GenericApiResponse]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SematextCloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sematext.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|