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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 854154a60e7fbc502161eaaf51f23c2d5c36fe79c64b6e496ef0de010158493c
4
- data.tar.gz: 4e232378ecab0bb53179dfc7ddc093bbca7e34af76157a9ccb9b898cd94adec7
3
+ metadata.gz: 230655eb1ae9f88158912d2dab9eb374188b60f6975826e89d2491650947d175
4
+ data.tar.gz: 7635eb7f9001c4aea985fff8573d5892a565f6fddd2297ed5a8af7b3b904a1f8
5
5
  SHA512:
6
- metadata.gz: 48f2d53b649a19a96dbeae740d175159665d4220a0737ba4633fb2d81ff1fb6b4a68b9a5bbed105c510796f1d350bd7f46a4645fee3845b183b9faa9806c98d0
7
- data.tar.gz: 881df332638960b61fa1dbad7787571f83d7dc7c3bdaeba263d79d753d20aee04071c758e359f3e4a0f99449a934b7a66e94cb8745a30e2c370c1f8ad62e039d
6
+ metadata.gz: a26f495b52251666f1e72140f6488d4274ef745f9e8faa2a46729c40d5e94687fdcfe6f6eae79d8be3de99eb1991d55149dd8b744b1792ae03e393a20cbbf2d9
7
+ data.tar.gz: 135ac0c3b2c3e0ab9e6be0ed50f9ff1d2e330ccdba44b4b0713d3b9cd71d6e2e51a415d14aa89a726424c5c7aafca93bd5df2b985b678ec0c85c4f8046e29a1c
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2017 Frontera Consulting, LLC
1
+ Copyright 2019 Frontera Consulting, LLC
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the "Software"),
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ZuoraRestClient
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
@@ -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.8'
42
- spec.add_runtime_dependency 'recursive-open-struct', '~> 1.0', '>= 1.0.4'
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.0
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-04-22 00:00:00.000000000 Z
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.8'
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.8'
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.0'
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.0'
291
+ version: '1'
292
292
  - - ">="
293
293
  - !ruby/object:Gem::Version
294
294
  version: 1.0.4