recurly 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/LICENSE +1 -1
- data/README.md +4 -4
- data/lib/recurly.rb +8 -1
- data/lib/recurly/account.rb +5 -0
- data/lib/recurly/coupon.rb +5 -0
- data/lib/recurly/rails3/recurly.rake +3 -18
- data/lib/recurly/version.rb +1 -1
- data/spec/config/{test.yml → test1.yml} +0 -0
- data/spec/config/test2.yml +9 -0
- data/spec/integration/account_spec.rb +3 -3
- data/spec/integration/billing_info_spec.rb +4 -8
- data/spec/integration/coupon_spec.rb +49 -0
- data/spec/integration/plan_spec.rb +0 -28
- data/spec/integration/transaction_spec.rb +3 -3
- data/spec/spec_helper.rb +6 -0
- data/spec/support/factory.rb +1 -1
- data/spec/unit/config_spec.rb +9 -2
- data/spec/vcr/account/accept-language-account/{1294473653.yml → 1296674173.yml} +29 -27
- data/spec/vcr/account/close/{1294473761.yml → 1296674173.yml} +71 -67
- data/spec/vcr/account/create-blank/{1294473761.yml → 1296674173.yml} +20 -18
- data/spec/vcr/account/create-duplicate/{1294473761.yml → 1296674173.yml} +42 -38
- data/spec/vcr/account/create-min/{1294473761.yml → 1296674173.yml} +26 -24
- data/spec/vcr/account/create/{1294473761.yml → 1296674173.yml} +29 -27
- data/spec/vcr/account/find/{1294473761.yml → 1296674173.yml} +71 -63
- data/spec/vcr/account/list/1296674173.yml +55 -0
- data/spec/vcr/account/update/{1294473761.yml → 1296674173.yml} +113 -107
- data/spec/vcr/billing/create/{1286682213.yml → 1296690812.yml} +86 -82
- data/spec/vcr/billing/destroy/{1286682213.yml → 1296690812.yml} +126 -142
- data/spec/vcr/billing/find/{1286682213.yml → 1296690812.yml} +115 -109
- data/spec/vcr/billing/update/{1286682213.yml → 1296690812.yml} +119 -115
- data/spec/vcr/charge/create/{1287465632.yml → 1296674173.yml} +109 -103
- data/spec/vcr/charge/delete-uninvoiced/{1287465632.yml → 1296674173.yml} +129 -117
- data/spec/vcr/charge/list-all/{1287465632.yml → 1296674173.yml} +131 -121
- data/spec/vcr/charge/list-invoiced/{1287465632.yml → 1296674173.yml} +195 -177
- data/spec/vcr/charge/list-pending/{1287465632.yml → 1296674173.yml} +131 -121
- data/spec/vcr/charge/lookup/{1287465632.yml → 1296674173.yml} +77 -71
- data/spec/vcr/coupon/create/1296688818.yml +183 -0
- data/spec/vcr/coupon/create/1296774903.yml +183 -0
- data/spec/vcr/coupon/destroy/1296688818.yml +207 -0
- data/spec/vcr/coupon/destroy/1296774903.yml +207 -0
- data/spec/vcr/credit/create/1296674173.yml +121 -0
- data/spec/vcr/credit/delete/1296674173.yml +121 -0
- data/spec/vcr/credit/list/1296674173.yml +121 -0
- data/spec/vcr/credit/lookup/1296674173.yml +121 -0
- data/spec/vcr/invoice/create-no-charges/{1287167121.yml → 1296674173.yml} +79 -75
- data/spec/vcr/invoice/create/{1287167121.yml → 1296674173.yml} +141 -130
- data/spec/vcr/invoice/list/{1287167121.yml → 1296674173.yml} +196 -180
- data/spec/vcr/invoice/lookup/{1287167121.yml → 1296674173.yml} +145 -133
- data/spec/vcr/plan/all.yml +86 -136
- data/spec/vcr/plan/delete/{1286677585.yml → 1296674173.yml} +87 -79
- data/spec/vcr/plan/find.yml +73 -91
- data/spec/vcr/plan/update.yml +80 -76
- data/spec/vcr/subscription/addons/add/1296674173.yml +225 -0
- data/spec/vcr/subscription/addons/create/1296674173.yml +225 -0
- data/spec/vcr/subscription/addons/remove/1296674173.yml +225 -0
- data/spec/vcr/subscription/cancel-with-code/{1287455769.yml → 1296674173.yml} +201 -201
- data/spec/vcr/subscription/cancel/{1287455769.yml → 1296674173.yml} +173 -175
- data/spec/vcr/subscription/change1/{1287455769.yml → 1296674173.yml} +172 -174
- data/spec/vcr/subscription/change2/{1287455769.yml → 1296674173.yml} +172 -174
- data/spec/vcr/subscription/create/{1287455769.yml → 1296674173.yml} +93 -99
- data/spec/vcr/subscription/find/{1287455769.yml → 1296674173.yml} +119 -123
- data/spec/vcr/subscription/reactivate/{1287455769.yml → 1296674173.yml} +194 -196
- data/spec/vcr/subscription/{refund-none/1287455769.yml → refund-full/1296674173.yml} +162 -162
- data/spec/vcr/subscription/{refund-full/1287455769.yml → refund-none/1296674173.yml} +162 -162
- data/spec/vcr/subscription/refund-partial/{1287455769.yml → 1296674173.yml} +162 -162
- data/spec/vcr/transaction/all/{1289558212.yml → 1296674173.yml} +155 -153
- data/spec/vcr/transaction/create-no-account/{1289558212.yml → 1296674173.yml} +37 -35
- data/spec/vcr/transaction/create-with-account/{1289558212.yml → 1296674173.yml} +91 -87
- data/spec/vcr/transaction/list-filled/{1289558212.yml → 1296674173.yml} +200 -190
- data/spec/vcr/transaction/list-initial/{1289558212.yml → 1296674173.yml} +92 -88
- data/spec/vcr/transaction/lookup/{1289558212.yml → 1296674173.yml} +241 -227
- data/spec/vcr/transaction/refund/{1289558212.yml → 1296674173.yml} +119 -115
- data/spec/vcr/transaction/void/1296674173.yml +352 -0
- metadata +122 -122
- data/spec/config/recurly.yml +0 -4
- data/spec/vcr/account/accept-language-account/1294473761.yml +0 -68
- data/spec/vcr/account/accept-language/1294473117.yml +0 -167
- data/spec/vcr/account/list/1294473761.yml +0 -1597
- data/spec/vcr/credit/create/1287461400.yml +0 -174
- data/spec/vcr/credit/delete/1287461400.yml +0 -249
- data/spec/vcr/credit/list/1287461400.yml +0 -306
- data/spec/vcr/credit/lookup/1287461400.yml +0 -174
- data/spec/vcr/subscription/addons/add/1292420980.yml +0 -479
- data/spec/vcr/subscription/addons/create/1292420980.yml +0 -318
- data/spec/vcr/subscription/addons/remove/1292420980.yml +0 -448
- data/spec/vcr/transaction/void/1289558212.yml +0 -601
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 23
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
8
|
+
- 3
|
9
|
+
version: 0.3.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Isaac Hall
|
@@ -16,46 +15,44 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2011-
|
18
|
+
date: 2011-02-03 00:00:00 -08:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
name: activeresource
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash: 5
|
29
28
|
segments:
|
30
29
|
- 2
|
31
30
|
- 3
|
32
31
|
version: "2.3"
|
33
32
|
type: :runtime
|
34
|
-
name: activeresource
|
35
33
|
prerelease: false
|
36
34
|
version_requirements: *id001
|
37
35
|
- !ruby/object:Gem::Dependency
|
36
|
+
name: activesupport
|
38
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
38
|
none: false
|
40
39
|
requirements:
|
41
40
|
- - ">="
|
42
41
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 5
|
44
42
|
segments:
|
45
43
|
- 2
|
46
44
|
- 3
|
47
45
|
version: "2.3"
|
48
46
|
type: :runtime
|
49
|
-
name: activesupport
|
50
47
|
prerelease: false
|
51
48
|
version_requirements: *id002
|
52
49
|
- !ruby/object:Gem::Dependency
|
50
|
+
name: rspec
|
53
51
|
requirement: &id003 !ruby/object:Gem::Requirement
|
54
52
|
none: false
|
55
53
|
requirements:
|
56
54
|
- - ">="
|
57
55
|
- !ruby/object:Gem::Version
|
58
|
-
hash: 62196431
|
59
56
|
segments:
|
60
57
|
- 2
|
61
58
|
- 0
|
@@ -64,35 +61,32 @@ dependencies:
|
|
64
61
|
- 22
|
65
62
|
version: 2.0.0.beta.22
|
66
63
|
type: :development
|
67
|
-
name: rspec
|
68
64
|
prerelease: false
|
69
65
|
version_requirements: *id003
|
70
66
|
- !ruby/object:Gem::Dependency
|
67
|
+
name: webmock
|
71
68
|
requirement: &id004 !ruby/object:Gem::Requirement
|
72
69
|
none: false
|
73
70
|
requirements:
|
74
71
|
- - ">="
|
75
72
|
- !ruby/object:Gem::Version
|
76
|
-
hash: 3
|
77
73
|
segments:
|
78
74
|
- 0
|
79
75
|
version: "0"
|
80
76
|
type: :development
|
81
|
-
name: webmock
|
82
77
|
prerelease: false
|
83
78
|
version_requirements: *id004
|
84
79
|
- !ruby/object:Gem::Dependency
|
80
|
+
name: vcr
|
85
81
|
requirement: &id005 !ruby/object:Gem::Requirement
|
86
82
|
none: false
|
87
83
|
requirements:
|
88
84
|
- - ">="
|
89
85
|
- !ruby/object:Gem::Version
|
90
|
-
hash: 3
|
91
86
|
segments:
|
92
87
|
- 0
|
93
88
|
version: "0"
|
94
89
|
type: :development
|
95
|
-
name: vcr
|
96
90
|
prerelease: false
|
97
91
|
version_requirements: *id005
|
98
92
|
description: A Ruby API wrapper for Recurly. Super Simple Subscription billing.
|
@@ -110,6 +104,7 @@ files:
|
|
110
104
|
- lib/recurly/billing_info.rb
|
111
105
|
- lib/recurly/charge.rb
|
112
106
|
- lib/recurly/config_parser.rb
|
107
|
+
- lib/recurly/coupon.rb
|
113
108
|
- lib/recurly/credit.rb
|
114
109
|
- lib/recurly/formats/xml_with_pagination.rb
|
115
110
|
- lib/recurly/invoice.rb
|
@@ -124,12 +119,13 @@ files:
|
|
124
119
|
- init.rb
|
125
120
|
- LICENSE
|
126
121
|
- README.md
|
127
|
-
- spec/config/
|
128
|
-
- spec/config/
|
122
|
+
- spec/config/test1.yml
|
123
|
+
- spec/config/test2.yml
|
129
124
|
- spec/integration/account_spec.rb
|
130
125
|
- spec/integration/add_on_spec.rb
|
131
126
|
- spec/integration/billing_info_spec.rb
|
132
127
|
- spec/integration/charge_spec.rb
|
128
|
+
- spec/integration/coupon_spec.rb
|
133
129
|
- spec/integration/credit_spec.rb
|
134
130
|
- spec/integration/invoice_spec.rb
|
135
131
|
- spec/integration/plan_spec.rb
|
@@ -139,60 +135,62 @@ files:
|
|
139
135
|
- spec/support/factory.rb
|
140
136
|
- spec/support/vcr.rb
|
141
137
|
- spec/unit/config_spec.rb
|
142
|
-
- spec/vcr/account/accept-language/
|
143
|
-
- spec/vcr/account/
|
144
|
-
- spec/vcr/account/
|
145
|
-
- spec/vcr/account/
|
146
|
-
- spec/vcr/account/create/
|
147
|
-
- spec/vcr/account/create-
|
148
|
-
- spec/vcr/account/
|
149
|
-
- spec/vcr/account/
|
150
|
-
- spec/vcr/account/
|
151
|
-
- spec/vcr/
|
152
|
-
- spec/vcr/
|
153
|
-
- spec/vcr/billing/
|
154
|
-
- spec/vcr/billing/
|
155
|
-
- spec/vcr/
|
156
|
-
- spec/vcr/
|
157
|
-
- spec/vcr/charge/
|
158
|
-
- spec/vcr/charge/
|
159
|
-
- spec/vcr/charge/list-
|
160
|
-
- spec/vcr/charge/
|
161
|
-
- spec/vcr/
|
162
|
-
- spec/vcr/
|
163
|
-
- spec/vcr/
|
164
|
-
- spec/vcr/
|
165
|
-
- spec/vcr/credit/
|
166
|
-
- spec/vcr/credit/
|
167
|
-
- spec/vcr/
|
168
|
-
- spec/vcr/
|
169
|
-
- spec/vcr/invoice/
|
170
|
-
- spec/vcr/invoice/
|
138
|
+
- spec/vcr/account/accept-language-account/1296674173.yml
|
139
|
+
- spec/vcr/account/close/1296674173.yml
|
140
|
+
- spec/vcr/account/create/1296674173.yml
|
141
|
+
- spec/vcr/account/create-blank/1296674173.yml
|
142
|
+
- spec/vcr/account/create-duplicate/1296674173.yml
|
143
|
+
- spec/vcr/account/create-min/1296674173.yml
|
144
|
+
- spec/vcr/account/find/1296674173.yml
|
145
|
+
- spec/vcr/account/list/1296674173.yml
|
146
|
+
- spec/vcr/account/update/1296674173.yml
|
147
|
+
- spec/vcr/billing/create/1296690812.yml
|
148
|
+
- spec/vcr/billing/destroy/1296690812.yml
|
149
|
+
- spec/vcr/billing/find/1296690812.yml
|
150
|
+
- spec/vcr/billing/update/1296690812.yml
|
151
|
+
- spec/vcr/charge/create/1296674173.yml
|
152
|
+
- spec/vcr/charge/delete-uninvoiced/1296674173.yml
|
153
|
+
- spec/vcr/charge/list-all/1296674173.yml
|
154
|
+
- spec/vcr/charge/list-invoiced/1296674173.yml
|
155
|
+
- spec/vcr/charge/list-pending/1296674173.yml
|
156
|
+
- spec/vcr/charge/lookup/1296674173.yml
|
157
|
+
- spec/vcr/coupon/create/1296688818.yml
|
158
|
+
- spec/vcr/coupon/create/1296774903.yml
|
159
|
+
- spec/vcr/coupon/destroy/1296688818.yml
|
160
|
+
- spec/vcr/coupon/destroy/1296774903.yml
|
161
|
+
- spec/vcr/credit/create/1296674173.yml
|
162
|
+
- spec/vcr/credit/delete/1296674173.yml
|
163
|
+
- spec/vcr/credit/list/1296674173.yml
|
164
|
+
- spec/vcr/credit/lookup/1296674173.yml
|
165
|
+
- spec/vcr/invoice/create/1296674173.yml
|
166
|
+
- spec/vcr/invoice/create-no-charges/1296674173.yml
|
167
|
+
- spec/vcr/invoice/list/1296674173.yml
|
168
|
+
- spec/vcr/invoice/lookup/1296674173.yml
|
171
169
|
- spec/vcr/plan/all.yml
|
172
|
-
- spec/vcr/plan/delete/
|
170
|
+
- spec/vcr/plan/delete/1296674173.yml
|
173
171
|
- spec/vcr/plan/find.yml
|
174
172
|
- spec/vcr/plan/update.yml
|
175
|
-
- spec/vcr/subscription/addons/add/
|
176
|
-
- spec/vcr/subscription/addons/create/
|
177
|
-
- spec/vcr/subscription/addons/remove/
|
178
|
-
- spec/vcr/subscription/cancel/
|
179
|
-
- spec/vcr/subscription/cancel-with-code/
|
180
|
-
- spec/vcr/subscription/change1/
|
181
|
-
- spec/vcr/subscription/change2/
|
182
|
-
- spec/vcr/subscription/create/
|
183
|
-
- spec/vcr/subscription/find/
|
184
|
-
- spec/vcr/subscription/reactivate/
|
185
|
-
- spec/vcr/subscription/refund-full/
|
186
|
-
- spec/vcr/subscription/refund-none/
|
187
|
-
- spec/vcr/subscription/refund-partial/
|
188
|
-
- spec/vcr/transaction/all/
|
189
|
-
- spec/vcr/transaction/create-no-account/
|
190
|
-
- spec/vcr/transaction/create-with-account/
|
191
|
-
- spec/vcr/transaction/list-filled/
|
192
|
-
- spec/vcr/transaction/list-initial/
|
193
|
-
- spec/vcr/transaction/lookup/
|
194
|
-
- spec/vcr/transaction/refund/
|
195
|
-
- spec/vcr/transaction/void/
|
173
|
+
- spec/vcr/subscription/addons/add/1296674173.yml
|
174
|
+
- spec/vcr/subscription/addons/create/1296674173.yml
|
175
|
+
- spec/vcr/subscription/addons/remove/1296674173.yml
|
176
|
+
- spec/vcr/subscription/cancel/1296674173.yml
|
177
|
+
- spec/vcr/subscription/cancel-with-code/1296674173.yml
|
178
|
+
- spec/vcr/subscription/change1/1296674173.yml
|
179
|
+
- spec/vcr/subscription/change2/1296674173.yml
|
180
|
+
- spec/vcr/subscription/create/1296674173.yml
|
181
|
+
- spec/vcr/subscription/find/1296674173.yml
|
182
|
+
- spec/vcr/subscription/reactivate/1296674173.yml
|
183
|
+
- spec/vcr/subscription/refund-full/1296674173.yml
|
184
|
+
- spec/vcr/subscription/refund-none/1296674173.yml
|
185
|
+
- spec/vcr/subscription/refund-partial/1296674173.yml
|
186
|
+
- spec/vcr/transaction/all/1296674173.yml
|
187
|
+
- spec/vcr/transaction/create-no-account/1296674173.yml
|
188
|
+
- spec/vcr/transaction/create-with-account/1296674173.yml
|
189
|
+
- spec/vcr/transaction/list-filled/1296674173.yml
|
190
|
+
- spec/vcr/transaction/list-initial/1296674173.yml
|
191
|
+
- spec/vcr/transaction/lookup/1296674173.yml
|
192
|
+
- spec/vcr/transaction/refund/1296674173.yml
|
193
|
+
- spec/vcr/transaction/void/1296674173.yml
|
196
194
|
has_rdoc: true
|
197
195
|
homepage: http://github.com/recurly/recurly-client-ruby
|
198
196
|
licenses: []
|
@@ -207,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
205
|
requirements:
|
208
206
|
- - ">="
|
209
207
|
- !ruby/object:Gem::Version
|
210
|
-
hash:
|
208
|
+
hash: -1621753445951285499
|
211
209
|
segments:
|
212
210
|
- 0
|
213
211
|
version: "0"
|
@@ -216,7 +214,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
214
|
requirements:
|
217
215
|
- - ">="
|
218
216
|
- !ruby/object:Gem::Version
|
219
|
-
hash: 3
|
220
217
|
segments:
|
221
218
|
- 0
|
222
219
|
version: "0"
|
@@ -228,12 +225,13 @@ signing_key:
|
|
228
225
|
specification_version: 3
|
229
226
|
summary: Ruby API wrapper for Recurly
|
230
227
|
test_files:
|
231
|
-
- spec/config/
|
232
|
-
- spec/config/
|
228
|
+
- spec/config/test1.yml
|
229
|
+
- spec/config/test2.yml
|
233
230
|
- spec/integration/account_spec.rb
|
234
231
|
- spec/integration/add_on_spec.rb
|
235
232
|
- spec/integration/billing_info_spec.rb
|
236
233
|
- spec/integration/charge_spec.rb
|
234
|
+
- spec/integration/coupon_spec.rb
|
237
235
|
- spec/integration/credit_spec.rb
|
238
236
|
- spec/integration/invoice_spec.rb
|
239
237
|
- spec/integration/plan_spec.rb
|
@@ -243,57 +241,59 @@ test_files:
|
|
243
241
|
- spec/support/factory.rb
|
244
242
|
- spec/support/vcr.rb
|
245
243
|
- spec/unit/config_spec.rb
|
246
|
-
- spec/vcr/account/accept-language/
|
247
|
-
- spec/vcr/account/
|
248
|
-
- spec/vcr/account/
|
249
|
-
- spec/vcr/account/
|
250
|
-
- spec/vcr/account/create/
|
251
|
-
- spec/vcr/account/create-
|
252
|
-
- spec/vcr/account/
|
253
|
-
- spec/vcr/account/
|
254
|
-
- spec/vcr/account/
|
255
|
-
- spec/vcr/
|
256
|
-
- spec/vcr/
|
257
|
-
- spec/vcr/billing/
|
258
|
-
- spec/vcr/billing/
|
259
|
-
- spec/vcr/
|
260
|
-
- spec/vcr/
|
261
|
-
- spec/vcr/charge/
|
262
|
-
- spec/vcr/charge/
|
263
|
-
- spec/vcr/charge/list-
|
264
|
-
- spec/vcr/charge/
|
265
|
-
- spec/vcr/
|
266
|
-
- spec/vcr/
|
267
|
-
- spec/vcr/
|
268
|
-
- spec/vcr/
|
269
|
-
- spec/vcr/credit/
|
270
|
-
- spec/vcr/credit/
|
271
|
-
- spec/vcr/
|
272
|
-
- spec/vcr/
|
273
|
-
- spec/vcr/invoice/
|
274
|
-
- spec/vcr/invoice/
|
244
|
+
- spec/vcr/account/accept-language-account/1296674173.yml
|
245
|
+
- spec/vcr/account/close/1296674173.yml
|
246
|
+
- spec/vcr/account/create/1296674173.yml
|
247
|
+
- spec/vcr/account/create-blank/1296674173.yml
|
248
|
+
- spec/vcr/account/create-duplicate/1296674173.yml
|
249
|
+
- spec/vcr/account/create-min/1296674173.yml
|
250
|
+
- spec/vcr/account/find/1296674173.yml
|
251
|
+
- spec/vcr/account/list/1296674173.yml
|
252
|
+
- spec/vcr/account/update/1296674173.yml
|
253
|
+
- spec/vcr/billing/create/1296690812.yml
|
254
|
+
- spec/vcr/billing/destroy/1296690812.yml
|
255
|
+
- spec/vcr/billing/find/1296690812.yml
|
256
|
+
- spec/vcr/billing/update/1296690812.yml
|
257
|
+
- spec/vcr/charge/create/1296674173.yml
|
258
|
+
- spec/vcr/charge/delete-uninvoiced/1296674173.yml
|
259
|
+
- spec/vcr/charge/list-all/1296674173.yml
|
260
|
+
- spec/vcr/charge/list-invoiced/1296674173.yml
|
261
|
+
- spec/vcr/charge/list-pending/1296674173.yml
|
262
|
+
- spec/vcr/charge/lookup/1296674173.yml
|
263
|
+
- spec/vcr/coupon/create/1296688818.yml
|
264
|
+
- spec/vcr/coupon/create/1296774903.yml
|
265
|
+
- spec/vcr/coupon/destroy/1296688818.yml
|
266
|
+
- spec/vcr/coupon/destroy/1296774903.yml
|
267
|
+
- spec/vcr/credit/create/1296674173.yml
|
268
|
+
- spec/vcr/credit/delete/1296674173.yml
|
269
|
+
- spec/vcr/credit/list/1296674173.yml
|
270
|
+
- spec/vcr/credit/lookup/1296674173.yml
|
271
|
+
- spec/vcr/invoice/create/1296674173.yml
|
272
|
+
- spec/vcr/invoice/create-no-charges/1296674173.yml
|
273
|
+
- spec/vcr/invoice/list/1296674173.yml
|
274
|
+
- spec/vcr/invoice/lookup/1296674173.yml
|
275
275
|
- spec/vcr/plan/all.yml
|
276
|
-
- spec/vcr/plan/delete/
|
276
|
+
- spec/vcr/plan/delete/1296674173.yml
|
277
277
|
- spec/vcr/plan/find.yml
|
278
278
|
- spec/vcr/plan/update.yml
|
279
|
-
- spec/vcr/subscription/addons/add/
|
280
|
-
- spec/vcr/subscription/addons/create/
|
281
|
-
- spec/vcr/subscription/addons/remove/
|
282
|
-
- spec/vcr/subscription/cancel/
|
283
|
-
- spec/vcr/subscription/cancel-with-code/
|
284
|
-
- spec/vcr/subscription/change1/
|
285
|
-
- spec/vcr/subscription/change2/
|
286
|
-
- spec/vcr/subscription/create/
|
287
|
-
- spec/vcr/subscription/find/
|
288
|
-
- spec/vcr/subscription/reactivate/
|
289
|
-
- spec/vcr/subscription/refund-full/
|
290
|
-
- spec/vcr/subscription/refund-none/
|
291
|
-
- spec/vcr/subscription/refund-partial/
|
292
|
-
- spec/vcr/transaction/all/
|
293
|
-
- spec/vcr/transaction/create-no-account/
|
294
|
-
- spec/vcr/transaction/create-with-account/
|
295
|
-
- spec/vcr/transaction/list-filled/
|
296
|
-
- spec/vcr/transaction/list-initial/
|
297
|
-
- spec/vcr/transaction/lookup/
|
298
|
-
- spec/vcr/transaction/refund/
|
299
|
-
- spec/vcr/transaction/void/
|
279
|
+
- spec/vcr/subscription/addons/add/1296674173.yml
|
280
|
+
- spec/vcr/subscription/addons/create/1296674173.yml
|
281
|
+
- spec/vcr/subscription/addons/remove/1296674173.yml
|
282
|
+
- spec/vcr/subscription/cancel/1296674173.yml
|
283
|
+
- spec/vcr/subscription/cancel-with-code/1296674173.yml
|
284
|
+
- spec/vcr/subscription/change1/1296674173.yml
|
285
|
+
- spec/vcr/subscription/change2/1296674173.yml
|
286
|
+
- spec/vcr/subscription/create/1296674173.yml
|
287
|
+
- spec/vcr/subscription/find/1296674173.yml
|
288
|
+
- spec/vcr/subscription/reactivate/1296674173.yml
|
289
|
+
- spec/vcr/subscription/refund-full/1296674173.yml
|
290
|
+
- spec/vcr/subscription/refund-none/1296674173.yml
|
291
|
+
- spec/vcr/subscription/refund-partial/1296674173.yml
|
292
|
+
- spec/vcr/transaction/all/1296674173.yml
|
293
|
+
- spec/vcr/transaction/create-no-account/1296674173.yml
|
294
|
+
- spec/vcr/transaction/create-with-account/1296674173.yml
|
295
|
+
- spec/vcr/transaction/list-filled/1296674173.yml
|
296
|
+
- spec/vcr/transaction/list-initial/1296674173.yml
|
297
|
+
- spec/vcr/transaction/lookup/1296674173.yml
|
298
|
+
- spec/vcr/transaction/refund/1296674173.yml
|
299
|
+
- spec/vcr/transaction/void/1296674173.yml
|
data/spec/config/recurly.yml
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<company-name>Recurly Ruby Gem</company-name>
|
10
|
-
<account-code>account1-french-1294473761</account-code>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<accept-language>fr</accept-language>
|
13
|
-
<email>verena@test.com</email>
|
14
|
-
<first-name>Verena</first-name>
|
15
|
-
</account>
|
16
|
-
|
17
|
-
headers:
|
18
|
-
accept:
|
19
|
-
- "*/*"
|
20
|
-
connection:
|
21
|
-
- close
|
22
|
-
content-type:
|
23
|
-
- application/xml
|
24
|
-
authorization:
|
25
|
-
- Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
|
26
|
-
response: !ruby/struct:VCR::Response
|
27
|
-
status: !ruby/struct:VCR::ResponseStatus
|
28
|
-
code: 201
|
29
|
-
message: Created
|
30
|
-
headers:
|
31
|
-
location:
|
32
|
-
- https://recurlytest3-test.recurly.com/accounts/account1-french-1294473761
|
33
|
-
connection:
|
34
|
-
- close
|
35
|
-
content-type:
|
36
|
-
- application/xml; charset=utf-8
|
37
|
-
x-runtime:
|
38
|
-
- "346"
|
39
|
-
date:
|
40
|
-
- Sat, 08 Jan 2011 08:03:28 GMT
|
41
|
-
server:
|
42
|
-
- nginx/0.8.53
|
43
|
-
content-length:
|
44
|
-
- "585"
|
45
|
-
set-cookie:
|
46
|
-
- account_credentials=0698802063b183bb20df9484ab1c0d5be4fb7f1fbd4c3d74f281dc7a4875b6f3fb10363f5d05b61feda85060f09d1802a327fd6ea8a5d378326cca9ebd4dbc7e%3A%3A; domain=.recurly.com; path=/
|
47
|
-
- ""
|
48
|
-
- _recurly_session=80bb998351fb4c4751d41318f92d7f3d; domain=.recurly.com; path=/; secure; HttpOnly
|
49
|
-
cache-control:
|
50
|
-
- no-cache
|
51
|
-
body: |
|
52
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
53
|
-
<account>
|
54
|
-
<id>account1-french-1294473761</id>
|
55
|
-
<account_code>account1-french-1294473761</account_code>
|
56
|
-
<username></username>
|
57
|
-
<email>verena@test.com</email>
|
58
|
-
<first_name>Verena</first_name>
|
59
|
-
<last_name>Test</last_name>
|
60
|
-
<company_name>Recurly Ruby Gem</company_name>
|
61
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
62
|
-
<closed type="boolean">false</closed>
|
63
|
-
<hosted_login_token>72cf579d8ef84a78a54117d97e1a5c11</hosted_login_token>
|
64
|
-
<created_at type="datetime">2011-01-08T08:03:28Z</created_at>
|
65
|
-
<state>active</state>
|
66
|
-
</account>
|
67
|
-
|
68
|
-
http_version: "1.1"
|