allq_rest 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/deploy.sh +2 -1
- data/lib/allq_rest/api/actions_api.rb +57 -0
- data/lib/allq_rest/version.rb +1 -1
- data/spec/api/actions_api_spec.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f62267dafa743bca08b6a57f36435778ccafad307b29a4c158ddd958ec58690
|
4
|
+
data.tar.gz: c26405c4594abe6a0c3d48d8a45ca75eff12617479badf6b44698c45079d940a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e406da92c7bca9b85fb6560641fe53147117d272383a2e06328b5713b95568cfeca4cf4cd39739eae8516e00326ab8ade1bc2460bd6addebea19d0991e0fc1ff
|
7
|
+
data.tar.gz: 00c8f31bc45acd8daef28139758896489df29b696f6ffb1518ab5db5c4b061bde69714b379ab437598350ba34aaea01517223d59835f7d614b1bb00eeb376bb9
|
data/Gemfile.lock
CHANGED
data/deploy.sh
CHANGED
@@ -74,6 +74,63 @@ module Allq
|
|
74
74
|
end
|
75
75
|
return data, status_code, headers
|
76
76
|
end
|
77
|
+
|
78
|
+
# kick
|
79
|
+
# kick Job
|
80
|
+
# @param tube Job ID
|
81
|
+
# @param [Hash] opts the optional parameters
|
82
|
+
# @return [BasicResponse]
|
83
|
+
def kick_put(tube, opts = {})
|
84
|
+
data, _status_code, _headers = kick_put_with_http_info(tube, opts)
|
85
|
+
data
|
86
|
+
end
|
87
|
+
|
88
|
+
# kick
|
89
|
+
# kick Job
|
90
|
+
# @param tube Job ID
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
|
93
|
+
def kick_put_with_http_info(tube, opts = {})
|
94
|
+
if @api_client.config.debugging
|
95
|
+
@api_client.config.logger.debug 'Calling API: ActionsApi.kick_put ...'
|
96
|
+
end
|
97
|
+
# verify the required parameter 'tube' is set
|
98
|
+
if @api_client.config.client_side_validation && tube.nil?
|
99
|
+
fail ArgumentError, "Missing the required parameter 'tube' when calling ActionsApi.kick_put"
|
100
|
+
end
|
101
|
+
# resource path
|
102
|
+
local_var_path = '/kick'
|
103
|
+
|
104
|
+
# query parameters
|
105
|
+
query_params = {}
|
106
|
+
query_params[:'tube'] = tube
|
107
|
+
|
108
|
+
# header parameters
|
109
|
+
header_params = {}
|
110
|
+
# HTTP header 'Accept' (if needed)
|
111
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
112
|
+
# HTTP header 'Content-Type'
|
113
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
114
|
+
|
115
|
+
# form parameters
|
116
|
+
form_params = {}
|
117
|
+
|
118
|
+
# http body (model)
|
119
|
+
post_body = nil
|
120
|
+
auth_names = []
|
121
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
122
|
+
:header_params => header_params,
|
123
|
+
:query_params => query_params,
|
124
|
+
:form_params => form_params,
|
125
|
+
:body => post_body,
|
126
|
+
:auth_names => auth_names,
|
127
|
+
:return_type => 'BasicResponse')
|
128
|
+
if @api_client.config.debugging
|
129
|
+
@api_client.config.logger.debug "API called: ActionsApi#kick_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
130
|
+
end
|
131
|
+
return data, status_code, headers
|
132
|
+
end
|
133
|
+
|
77
134
|
# Delete
|
78
135
|
# Finished Job
|
79
136
|
# @param job_id Job ID
|
data/lib/allq_rest/version.rb
CHANGED