zuora_rest_client 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/zuora_rest_client/client.rb +4 -0
- data/lib/zuora_rest_client/version.rb +1 -1
- data/zuora_rest_client.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 230655eb1ae9f88158912d2dab9eb374188b60f6975826e89d2491650947d175
|
4
|
+
data.tar.gz: 7635eb7f9001c4aea985fff8573d5892a565f6fddd2297ed5a8af7b3b904a1f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a26f495b52251666f1e72140f6488d4274ef745f9e8faa2a46729c40d5e94687fdcfe6f6eae79d8be3de99eb1991d55149dd8b744b1792ae03e393a20cbbf2d9
|
7
|
+
data.tar.gz: 135ac0c3b2c3e0ab9e6be0ed50f9ff1d2e330ccdba44b4b0713d3b9cd71d6e2e51a415d14aa89a726424c5c7aafca93bd5df2b985b678ec0c85c4f8046e29a1c
|
data/LICENSE
CHANGED
@@ -350,6 +350,10 @@ module ZuoraRestClient
|
|
350
350
|
@connection.rest_get(uri.to_s, zuora_version)
|
351
351
|
end
|
352
352
|
|
353
|
+
def get_product(product_id, zuora_version = nil)
|
354
|
+
@connection.rest_get("/catalog/products/#{product_id}", zuora_version)
|
355
|
+
end
|
356
|
+
|
353
357
|
def share_product_with_entities(product_id, request, zuora_version = nil)
|
354
358
|
@connection.rest_put("/catalog/products/#{product_id}/share", request, zuora_version)
|
355
359
|
end
|
data/zuora_rest_client.gemspec
CHANGED
@@ -38,8 +38,8 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_runtime_dependency 'fire_poll', '~> 1.2'
|
39
39
|
spec.add_runtime_dependency 'multi_json', '~> 1.12', '>= 1.12.1'
|
40
40
|
spec.add_runtime_dependency 'nori', '~> 2.6'
|
41
|
-
spec.add_runtime_dependency 'nokogiri', '~> 1
|
42
|
-
spec.add_runtime_dependency 'recursive-open-struct', '~> 1
|
41
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1'
|
42
|
+
spec.add_runtime_dependency 'recursive-open-struct', '~> 1', '>= 1.0.4'
|
43
43
|
spec.add_runtime_dependency 'activesupport', '>= 0'
|
44
44
|
|
45
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Massad
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -264,21 +264,21 @@ dependencies:
|
|
264
264
|
requirements:
|
265
265
|
- - "~>"
|
266
266
|
- !ruby/object:Gem::Version
|
267
|
-
version: '1
|
267
|
+
version: '1'
|
268
268
|
type: :runtime
|
269
269
|
prerelease: false
|
270
270
|
version_requirements: !ruby/object:Gem::Requirement
|
271
271
|
requirements:
|
272
272
|
- - "~>"
|
273
273
|
- !ruby/object:Gem::Version
|
274
|
-
version: '1
|
274
|
+
version: '1'
|
275
275
|
- !ruby/object:Gem::Dependency
|
276
276
|
name: recursive-open-struct
|
277
277
|
requirement: !ruby/object:Gem::Requirement
|
278
278
|
requirements:
|
279
279
|
- - "~>"
|
280
280
|
- !ruby/object:Gem::Version
|
281
|
-
version: '1
|
281
|
+
version: '1'
|
282
282
|
- - ">="
|
283
283
|
- !ruby/object:Gem::Version
|
284
284
|
version: 1.0.4
|
@@ -288,7 +288,7 @@ dependencies:
|
|
288
288
|
requirements:
|
289
289
|
- - "~>"
|
290
290
|
- !ruby/object:Gem::Version
|
291
|
-
version: '1
|
291
|
+
version: '1'
|
292
292
|
- - ">="
|
293
293
|
- !ruby/object:Gem::Version
|
294
294
|
version: 1.0.4
|