3scale-api 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/3scale/api/client.rb +9 -0
- data/lib/3scale/api/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: 6acc1c28076fb874303586e42676f43af59d189a848e6dbb9beea439397c099d
|
4
|
+
data.tar.gz: 2901c2493c186e4649a54193f86da93e1a09e928fdfe05dde717148b37aabcfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad1b19c06a705bc370c2fa0362ab894f89e666f1fce9d24d42bccf7538640962fc8be201c1c65c1b70bf61c7c2d4f25550e93c22cd9f1bf3256f8989200cacb7
|
7
|
+
data.tar.gz: 100e91d761590d54b6ff9c96884586e96cc027f9e497f462ff9c00d244bba2febe78162d3f2dce0f1341efb777e379abc1dbc8e2d170017daa53bfbfd81a80ac
|
data/lib/3scale/api/client.rb
CHANGED
@@ -203,6 +203,15 @@ module ThreeScale
|
|
203
203
|
extract(entity: 'proxy', from: response)
|
204
204
|
end
|
205
205
|
|
206
|
+
# @api public
|
207
|
+
# @return [Hash]
|
208
|
+
# @param [Fixnum] service_id Service ID
|
209
|
+
def proxy_deploy(service_id)
|
210
|
+
response = http_client.post("/admin/api/services/#{service_id}/proxy/deploy",
|
211
|
+
body: nil)
|
212
|
+
extract(entity: 'proxy', from: response)
|
213
|
+
end
|
214
|
+
|
206
215
|
# @api public
|
207
216
|
# @return [Array<Hash>]
|
208
217
|
# @param [Fixnum] service_id Service ID
|
data/lib/3scale/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 3scale-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Cichra
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-01-
|
12
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|