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 +4 -4
- data/lib/zuora_rest_client/client.rb +5 -3
- data/lib/zuora_rest_client/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: 854154a60e7fbc502161eaaf51f23c2d5c36fe79c64b6e496ef0de010158493c
|
4
|
+
data.tar.gz: 4e232378ecab0bb53179dfc7ddc093bbca7e34af76157a9ccb9b898cd94adec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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(
|
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)
|
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.
|
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-
|
11
|
+
date: 2019-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|