zuora_rest_client 1.1.10 → 1.2.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: fb2717018ac1e89bff265c3c6a25c8f732cf46e2c6aba9890aa173d7dfc70e22
4
- data.tar.gz: e97fd0911413d21ccde16e3c1b2e783c8b2b299e2cf093df8eab0bae8b1a35b5
3
+ metadata.gz: 854154a60e7fbc502161eaaf51f23c2d5c36fe79c64b6e496ef0de010158493c
4
+ data.tar.gz: 4e232378ecab0bb53179dfc7ddc093bbca7e34af76157a9ccb9b898cd94adec7
5
5
  SHA512:
6
- metadata.gz: 6686da85fe83192a76f34deb8f88d27c370366b90d0a7b1d38cd5716d4a3178ffa23cdc60c867410ce9d8dba83bd355beef76966a35599a86e26828fc404cc40
7
- data.tar.gz: 5238fa38d03b99d9e8995970007f2ed3e22821db391417e981519b8400da29a87cd0fcda1684147f9af07a29d4a3152c4911f25cc806b3d80086a683ef8015fc
6
+ metadata.gz: 48f2d53b649a19a96dbeae740d175159665d4220a0737ba4633fb2d81ff1fb6b4a68b9a5bbed105c510796f1d350bd7f46a4645fee3845b183b9faa9806c98d0
7
+ data.tar.gz: 881df332638960b61fa1dbad7787571f83d7dc7c3bdaeba263d79d753d20aee04071c758e359f3e4a0f99449a934b7a66e94cb8745a30e2c370c1f8ad62e039d
@@ -1362,8 +1362,10 @@ module ZuoraRestClient
1362
1362
  # #
1363
1363
  ##############################################################################
1364
1364
 
1365
- def get_product_rate_plans(product_id, zuora_version = nil)
1366
- @connection.rest_get("/rateplan/#{product_id}/productRatePlan", zuora_version)
1365
+ def get_product_rate_plans(product_id, query_params = {}, zuora_version = nil)
1366
+ uri = Addressable::URI.parse("/rateplan/#{product_id}/productRatePlan")
1367
+ uri.query_values = query_params
1368
+ @connection.rest_get(uri.to_s, zuora_version)
1367
1369
  end
1368
1370
 
1369
1371
  def create_product_rate_plan_object(request, zuora_version = nil)
@@ -1440,7 +1442,7 @@ module ZuoraRestClient
1440
1442
  # #
1441
1443
  ##############################################################################
1442
1444
 
1443
- def retrieve_rate_plan_charge_object(rate_plan_chargeid, fields = nil, zuora_version = nil)
1445
+ def retrieve_rate_plan_charge_object(rate_plan_charge_id, fields = nil, zuora_version = nil)
1444
1446
  uri = Addressable::URI.parse("/object/rate-plan-charge/#{rate_plan_charge_id}")
1445
1447
  uri.query_values = { fields: fields.to_s } if !fields.nil?
1446
1448
  @connection.rest_get(uri.to_s, zuora_version)
@@ -1,3 +1,3 @@
1
1
  module ZuoraRestClient
2
- VERSION = '1.1.10'
2
+ VERSION = '1.2.0'
3
3
  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.1.10
4
+ version: 1.2.0
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-21 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler