zuora_rest_client 1.2.1.1 → 1.2.1.2
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/version.rb +1 -1
- metadata +2 -24
- data/.gitignore +0 -54
- data/.rspec +0 -2
- data/.travis.yml +0 -5
- data/Gemfile +0 -4
- data/Rakefile +0 -6
- data/fixtures/vcr_cassettes/zuora/create_account_object_success.yml +0 -51
- data/fixtures/vcr_cassettes/zuora/create_account_success.yml +0 -66
- data/fixtures/vcr_cassettes/zuora/delete_account_object_success.yml +0 -191
- data/fixtures/vcr_cassettes/zuora/describe_account.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_account_related_objects.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_all_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_all_zobjects.yml +0 -171
- data/fixtures/vcr_cassettes/zuora/describe_exportable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_non_exportable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_non_updateable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_updateable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/get_account_object_success.yml +0 -52
- data/fixtures/vcr_cassettes/zuora/get_account_success.yml +0 -152
- data/fixtures/vcr_cassettes/zuora/get_account_summary_success.yml +0 -140
- data/fixtures/vcr_cassettes/zuora/update_account_object_success.yml +0 -99
- data/fixtures/vcr_cassettes/zuora/update_account_success.yml +0 -208
- data/zuora_rest_client.gemspec +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0264a4e8a9d971a34165b4f4a42bce6e06cd20c6f5d113eadd84468a6f35f0f7
|
4
|
+
data.tar.gz: 9ba5d3f156b9e33d99e24be3b76cab1889695213d8e05ddd3cecca612cdf2075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa6f4d225c093f206c7d6575c1be0d09c33edd3159f4cfb470aff82ce00ee5c01a8fc6052610a144d05af429bcbb031a810fde39dcb843cd71746a962a5f1d26
|
7
|
+
data.tar.gz: c1df43c728b309627a6e61b3fbdabe51a45caf5c398c0cd404303993d958087121c19d96331033e4bfa1707794714e50542e149b14d69c905421bf27f67a76d2
|
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.1.
|
4
|
+
version: 1.2.1.2
|
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-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -313,37 +313,15 @@ executables: []
|
|
313
313
|
extensions: []
|
314
314
|
extra_rdoc_files: []
|
315
315
|
files:
|
316
|
-
- ".gitignore"
|
317
|
-
- ".rspec"
|
318
|
-
- ".travis.yml"
|
319
|
-
- Gemfile
|
320
316
|
- LICENSE
|
321
317
|
- README.md
|
322
|
-
- Rakefile
|
323
318
|
- bin/console
|
324
319
|
- bin/setup
|
325
|
-
- fixtures/vcr_cassettes/zuora/create_account_object_success.yml
|
326
|
-
- fixtures/vcr_cassettes/zuora/create_account_success.yml
|
327
|
-
- fixtures/vcr_cassettes/zuora/delete_account_object_success.yml
|
328
|
-
- fixtures/vcr_cassettes/zuora/describe_account.yml
|
329
|
-
- fixtures/vcr_cassettes/zuora/describe_account_related_objects.yml
|
330
|
-
- fixtures/vcr_cassettes/zuora/describe_all_account_fields.yml
|
331
|
-
- fixtures/vcr_cassettes/zuora/describe_all_zobjects.yml
|
332
|
-
- fixtures/vcr_cassettes/zuora/describe_exportable_account_fields.yml
|
333
|
-
- fixtures/vcr_cassettes/zuora/describe_non_exportable_account_fields.yml
|
334
|
-
- fixtures/vcr_cassettes/zuora/describe_non_updateable_account_fields.yml
|
335
|
-
- fixtures/vcr_cassettes/zuora/describe_updateable_account_fields.yml
|
336
|
-
- fixtures/vcr_cassettes/zuora/get_account_object_success.yml
|
337
|
-
- fixtures/vcr_cassettes/zuora/get_account_success.yml
|
338
|
-
- fixtures/vcr_cassettes/zuora/get_account_summary_success.yml
|
339
|
-
- fixtures/vcr_cassettes/zuora/update_account_object_success.yml
|
340
|
-
- fixtures/vcr_cassettes/zuora/update_account_success.yml
|
341
320
|
- lib/zuora_rest_client.rb
|
342
321
|
- lib/zuora_rest_client/client.rb
|
343
322
|
- lib/zuora_rest_client/connection.rb
|
344
323
|
- lib/zuora_rest_client/result.rb
|
345
324
|
- lib/zuora_rest_client/version.rb
|
346
|
-
- zuora_rest_client.gemspec
|
347
325
|
homepage: https://github.com/FronteraConsulting/zuora_rest_client
|
348
326
|
licenses:
|
349
327
|
- MIT
|
data/.gitignore
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
/.config
|
4
|
-
/coverage/
|
5
|
-
/InstalledFiles
|
6
|
-
/pkg/
|
7
|
-
/spec/reports/
|
8
|
-
/spec/examples.txt
|
9
|
-
/test/tmp/
|
10
|
-
/test/version_tmp/
|
11
|
-
/tmp/
|
12
|
-
|
13
|
-
# Used by dotenv library to load environment variables.
|
14
|
-
.env
|
15
|
-
|
16
|
-
## Specific to RubyMotion:
|
17
|
-
.dat*
|
18
|
-
.repl_history
|
19
|
-
build/
|
20
|
-
*.bridgesupport
|
21
|
-
build-iPhoneOS/
|
22
|
-
build-iPhoneSimulator/
|
23
|
-
|
24
|
-
## Specific to RubyMotion (use of CocoaPods):
|
25
|
-
#
|
26
|
-
# We recommend against adding the Pods directory to your .gitignore. However
|
27
|
-
# you should judge for yourself, the pros and cons are mentioned at:
|
28
|
-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
29
|
-
#
|
30
|
-
# vendor/Pods/
|
31
|
-
|
32
|
-
## Documentation cache and generated files:
|
33
|
-
/.yardoc/
|
34
|
-
/_yardoc/
|
35
|
-
/doc/
|
36
|
-
/rdoc/
|
37
|
-
|
38
|
-
## Environment normalization:
|
39
|
-
/.bundle/
|
40
|
-
/vendor/bundle
|
41
|
-
/lib/bundler/man/
|
42
|
-
|
43
|
-
# for a library or gem, you might want to ignore these files since the code is
|
44
|
-
# intended to run in multiple environments; otherwise, check them in:
|
45
|
-
Gemfile.lock
|
46
|
-
.ruby-version
|
47
|
-
.ruby-gemset
|
48
|
-
|
49
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
50
|
-
.rvmrc
|
51
|
-
|
52
|
-
.idea
|
53
|
-
/.env
|
54
|
-
.env
|
data/.rspec
DELETED
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://rest.zuora.com/v1/object/account
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"Batch":"Batch1","BillCycleDay":15,"Currency":"USD","Name":"Test Account","PaymentTerm":"Due
|
9
|
-
Upon Receipt","Status":"Draft"}'
|
10
|
-
headers:
|
11
|
-
Content-Type:
|
12
|
-
- application/json
|
13
|
-
apiAccessKeyId:
|
14
|
-
- "{ZUORA_USERNAME}"
|
15
|
-
apiSecretAccessKey:
|
16
|
-
- "{ZUORA_PASSWORD}"
|
17
|
-
response:
|
18
|
-
status:
|
19
|
-
code: 200
|
20
|
-
message: OK
|
21
|
-
headers:
|
22
|
-
Content-Type:
|
23
|
-
- application/json; charset=utf-8
|
24
|
-
Server:
|
25
|
-
- kong/0.9.9
|
26
|
-
zuora-request-id:
|
27
|
-
- c433898d-bba1-4384-9fc8-3229ae85a434
|
28
|
-
X-Kong-Upstream-Latency:
|
29
|
-
- '783'
|
30
|
-
X-Kong-Proxy-Latency:
|
31
|
-
- '0'
|
32
|
-
Expires:
|
33
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
34
|
-
Cache-Control:
|
35
|
-
- max-age=0, no-cache, no-store
|
36
|
-
Pragma:
|
37
|
-
- no-cache
|
38
|
-
Date:
|
39
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
40
|
-
Content-Length:
|
41
|
-
- '57'
|
42
|
-
Connection:
|
43
|
-
- keep-alive
|
44
|
-
body:
|
45
|
-
encoding: UTF-8
|
46
|
-
string: '{"Success":true,"Id":"2c92a0fc690db104016910ece4fc24fe"}
|
47
|
-
|
48
|
-
'
|
49
|
-
http_version:
|
50
|
-
recorded_at: Thu, 21 Feb 2019 16:39:14 GMT
|
51
|
-
recorded_with: VCR 4.0.0
|
@@ -1,66 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://rest.zuora.com/v1/accounts
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"batch":"Batch1","billCycleDay":15,"billToContact":{"country":"US","firstName":"Test","lastName":"User","state":"TX"},"creditCard":{"cardHolderInfo":{"addressLine1":"123
|
9
|
-
Anystreet Lane","cardHolderName":"Test User","city":"Anytown","country":"US","state":"TX","zipCode":"00000"},"cardNumber":"4111111111111111","cardType":"Visa","expirationMonth":"12","expirationYear":"2099","securityCode":"123"},"currency":"USD","name":"Test
|
10
|
-
Account","paymentTerm":"Due Upon Receipt"}'
|
11
|
-
headers:
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
apiAccessKeyId:
|
15
|
-
- "{ZUORA_USERNAME}"
|
16
|
-
apiSecretAccessKey:
|
17
|
-
- "{ZUORA_PASSWORD}"
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- application/json;charset=utf-8
|
25
|
-
Content-Security-Policy-Report-Only:
|
26
|
-
- media-src 'none'; img-src 'self' *.zuora.com; object-src *.zuora.com; script-src
|
27
|
-
'unsafe-inline' 'unsafe-eval' 'self' https://api.tcell.io/; manifest-src 'none';
|
28
|
-
style-src 'unsafe-inline' 'self'; font-src 'self'; child-src 'none'; frame-src
|
29
|
-
'none'; connect-src 'self' https://api.tcell.io/ https://input.tcell.io/;
|
30
|
-
report-uri https://input.tcell.io/csp/8abeff14fea5928cf9f25296fca62aa1a75fa57a6f06ad15ea451d64a579f75c?rid=-451839198
|
31
|
-
Server:
|
32
|
-
- Zuora App
|
33
|
-
zuora-request-id:
|
34
|
-
- 89edc3be-03ed-4fd5-afe7-baf9b43d0bd9
|
35
|
-
X-Kong-Upstream-Latency:
|
36
|
-
- '265'
|
37
|
-
X-Kong-Proxy-Latency:
|
38
|
-
- '0'
|
39
|
-
Expires:
|
40
|
-
- Thu, 21 Feb 2019 16:39:12 GMT
|
41
|
-
Cache-Control:
|
42
|
-
- max-age=0, no-cache, no-store
|
43
|
-
Pragma:
|
44
|
-
- no-cache
|
45
|
-
Date:
|
46
|
-
- Thu, 21 Feb 2019 16:39:12 GMT
|
47
|
-
Content-Length:
|
48
|
-
- '281'
|
49
|
-
Connection:
|
50
|
-
- keep-alive
|
51
|
-
Set-Cookie:
|
52
|
-
- ZSession={ZUORA_SESSION_ID}; Path=/; Secure; HttpOnly
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: |-
|
56
|
-
{
|
57
|
-
"success" : true,
|
58
|
-
"accountId" : "2c92a008690a61a0016910ecddc619d3",
|
59
|
-
"accountNumber" : "Z00324163",
|
60
|
-
"billToContactId" : "2c92a008690a61a0016910ecdde419d4",
|
61
|
-
"soldToContactId" : "2c92a008690a61a0016910ecddef19d6",
|
62
|
-
"paymentMethodId" : "2c92a008690a61a0016910ecde1719d9"
|
63
|
-
}
|
64
|
-
http_version:
|
65
|
-
recorded_at: Thu, 21 Feb 2019 16:39:12 GMT
|
66
|
-
recorded_with: VCR 4.0.0
|
@@ -1,191 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: delete
|
5
|
-
uri: https://rest.zuora.com/v1/object/account/2c92a008690a61a0016910ecddc619d3
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
apiAccessKeyId:
|
13
|
-
- "{ZUORA_USERNAME}"
|
14
|
-
apiSecretAccessKey:
|
15
|
-
- "{ZUORA_PASSWORD}"
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
Server:
|
24
|
-
- kong/0.9.9
|
25
|
-
zuora-request-id:
|
26
|
-
- 85b15100-d816-46c4-90a9-8681fb25d1e4
|
27
|
-
X-Kong-Upstream-Latency:
|
28
|
-
- '142'
|
29
|
-
X-Kong-Proxy-Latency:
|
30
|
-
- '0'
|
31
|
-
Expires:
|
32
|
-
- Thu, 21 Feb 2019 16:39:15 GMT
|
33
|
-
Cache-Control:
|
34
|
-
- max-age=0, no-cache, no-store
|
35
|
-
Pragma:
|
36
|
-
- no-cache
|
37
|
-
Date:
|
38
|
-
- Thu, 21 Feb 2019 16:39:15 GMT
|
39
|
-
Content-Length:
|
40
|
-
- '57'
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
body:
|
44
|
-
encoding: UTF-8
|
45
|
-
string: '{"id":"2c92a008690a61a0016910ecddc619d3","success":true}
|
46
|
-
|
47
|
-
'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Thu, 21 Feb 2019 16:39:15 GMT
|
50
|
-
- request:
|
51
|
-
method: get
|
52
|
-
uri: https://rest.zuora.com/v1/object/account/2c92a008690a61a0016910ecddc619d3
|
53
|
-
body:
|
54
|
-
encoding: US-ASCII
|
55
|
-
string: ''
|
56
|
-
headers:
|
57
|
-
Content-Type:
|
58
|
-
- application/json
|
59
|
-
apiAccessKeyId:
|
60
|
-
- "{ZUORA_USERNAME}"
|
61
|
-
apiSecretAccessKey:
|
62
|
-
- "{ZUORA_PASSWORD}"
|
63
|
-
response:
|
64
|
-
status:
|
65
|
-
code: 404
|
66
|
-
message: Not Found
|
67
|
-
headers:
|
68
|
-
Content-Type:
|
69
|
-
- application/json; charset=utf-8
|
70
|
-
Server:
|
71
|
-
- kong/0.9.9
|
72
|
-
zuora-request-id:
|
73
|
-
- 4a1f7e9f-fd0e-4187-9512-19258b4eca85
|
74
|
-
X-Kong-Upstream-Latency:
|
75
|
-
- '42'
|
76
|
-
X-Kong-Proxy-Latency:
|
77
|
-
- '0'
|
78
|
-
Expires:
|
79
|
-
- Thu, 21 Feb 2019 16:39:20 GMT
|
80
|
-
Cache-Control:
|
81
|
-
- max-age=0, no-cache, no-store
|
82
|
-
Pragma:
|
83
|
-
- no-cache
|
84
|
-
Date:
|
85
|
-
- Thu, 21 Feb 2019 16:39:20 GMT
|
86
|
-
Content-Length:
|
87
|
-
- '36'
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
body:
|
91
|
-
encoding: UTF-8
|
92
|
-
string: '{"records":[],"size":0,"done":true}
|
93
|
-
|
94
|
-
'
|
95
|
-
http_version:
|
96
|
-
recorded_at: Thu, 21 Feb 2019 16:39:20 GMT
|
97
|
-
- request:
|
98
|
-
method: delete
|
99
|
-
uri: https://rest.zuora.com/v1/object/account/2c92a0fc690db104016910ece4fc24fe
|
100
|
-
body:
|
101
|
-
encoding: US-ASCII
|
102
|
-
string: ''
|
103
|
-
headers:
|
104
|
-
Content-Type:
|
105
|
-
- application/json
|
106
|
-
apiAccessKeyId:
|
107
|
-
- "{ZUORA_USERNAME}"
|
108
|
-
apiSecretAccessKey:
|
109
|
-
- "{ZUORA_PASSWORD}"
|
110
|
-
response:
|
111
|
-
status:
|
112
|
-
code: 200
|
113
|
-
message: OK
|
114
|
-
headers:
|
115
|
-
Content-Type:
|
116
|
-
- application/json; charset=utf-8
|
117
|
-
Server:
|
118
|
-
- kong/0.9.9
|
119
|
-
zuora-request-id:
|
120
|
-
- ebef425e-a233-4302-8a52-2efbf3e03072
|
121
|
-
X-Kong-Upstream-Latency:
|
122
|
-
- '121'
|
123
|
-
X-Kong-Proxy-Latency:
|
124
|
-
- '0'
|
125
|
-
Expires:
|
126
|
-
- Thu, 21 Feb 2019 16:39:20 GMT
|
127
|
-
Cache-Control:
|
128
|
-
- max-age=0, no-cache, no-store
|
129
|
-
Pragma:
|
130
|
-
- no-cache
|
131
|
-
Date:
|
132
|
-
- Thu, 21 Feb 2019 16:39:20 GMT
|
133
|
-
Content-Length:
|
134
|
-
- '57'
|
135
|
-
Connection:
|
136
|
-
- keep-alive
|
137
|
-
body:
|
138
|
-
encoding: UTF-8
|
139
|
-
string: '{"id":"2c92a0fc690db104016910ece4fc24fe","success":true}
|
140
|
-
|
141
|
-
'
|
142
|
-
http_version:
|
143
|
-
recorded_at: Thu, 21 Feb 2019 16:39:20 GMT
|
144
|
-
- request:
|
145
|
-
method: get
|
146
|
-
uri: https://rest.zuora.com/v1/object/account/2c92a0fc690db104016910ece4fc24fe
|
147
|
-
body:
|
148
|
-
encoding: US-ASCII
|
149
|
-
string: ''
|
150
|
-
headers:
|
151
|
-
Content-Type:
|
152
|
-
- application/json
|
153
|
-
apiAccessKeyId:
|
154
|
-
- "{ZUORA_USERNAME}"
|
155
|
-
apiSecretAccessKey:
|
156
|
-
- "{ZUORA_PASSWORD}"
|
157
|
-
response:
|
158
|
-
status:
|
159
|
-
code: 404
|
160
|
-
message: Not Found
|
161
|
-
headers:
|
162
|
-
Content-Type:
|
163
|
-
- application/json; charset=utf-8
|
164
|
-
Server:
|
165
|
-
- kong/0.9.9
|
166
|
-
zuora-request-id:
|
167
|
-
- 5453df72-ba55-47d5-9bd2-8888be7206fd
|
168
|
-
X-Kong-Upstream-Latency:
|
169
|
-
- '46'
|
170
|
-
X-Kong-Proxy-Latency:
|
171
|
-
- '0'
|
172
|
-
Expires:
|
173
|
-
- Thu, 21 Feb 2019 16:39:25 GMT
|
174
|
-
Cache-Control:
|
175
|
-
- max-age=0, no-cache, no-store
|
176
|
-
Pragma:
|
177
|
-
- no-cache
|
178
|
-
Date:
|
179
|
-
- Thu, 21 Feb 2019 16:39:25 GMT
|
180
|
-
Content-Length:
|
181
|
-
- '36'
|
182
|
-
Connection:
|
183
|
-
- keep-alive
|
184
|
-
body:
|
185
|
-
encoding: UTF-8
|
186
|
-
string: '{"records":[],"size":0,"done":true}
|
187
|
-
|
188
|
-
'
|
189
|
-
http_version:
|
190
|
-
recorded_at: Thu, 21 Feb 2019 16:39:25 GMT
|
191
|
-
recorded_with: VCR 4.0.0
|