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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cc00497946c9460c86b1034fc1f910739ac63887a6986ceabd78be8b14b034d
4
- data.tar.gz: c352efd9db65cbe4ac61665a04f72171d5cba4cccbbe7d2b4f7324ae0d978694
3
+ metadata.gz: 6acc1c28076fb874303586e42676f43af59d189a848e6dbb9beea439397c099d
4
+ data.tar.gz: 2901c2493c186e4649a54193f86da93e1a09e928fdfe05dde717148b37aabcfe
5
5
  SHA512:
6
- metadata.gz: 7f39e195d88356c436c563db1d605ccadfdaca36ee7d2b3e5393d18a7519a36b57340780bf20fdbd4cbb9de89e99804d9e3a6b171260ed72e9891076e774d01d
7
- data.tar.gz: 32b338fb32b94052a2fd30485aed130ef692b3d9fd74f908ecdece615ebb0b850ecf3abb14c4653257a62ba8ee5ecae482fbe3a17a6d26312e6cb7eba733baa9
6
+ metadata.gz: ad1b19c06a705bc370c2fa0362ab894f89e666f1fce9d24d42bccf7538640962fc8be201c1c65c1b70bf61c7c2d4f25550e93c22cd9f1bf3256f8989200cacb7
7
+ data.tar.gz: 100e91d761590d54b6ff9c96884586e96cc027f9e497f462ff9c00d244bba2febe78162d3f2dce0f1341efb777e379abc1dbc8e2d170017daa53bfbfd81a80ac
@@ -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
@@ -1,5 +1,5 @@
1
1
  module ThreeScale
2
2
  module API
3
- VERSION = '1.3.0'.freeze
3
+ VERSION = '1.4.0'.freeze
4
4
  end
5
5
  end
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.3.0
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-20 00:00:00.000000000 Z
12
+ date: 2021-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler