recurly 0.4.8 → 0.4.10
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/README.md +2 -2
- data/lib/recurly.rb +2 -1
- data/lib/recurly/account.rb +2 -2
- data/lib/recurly/base.rb +30 -12
- data/lib/recurly/billing_info.rb +2 -2
- data/lib/recurly/exceptions.rb +13 -0
- data/lib/recurly/plan.rb +1 -1
- data/lib/recurly/subscription.rb +2 -2
- data/lib/recurly/transaction.rb +2 -2
- data/lib/recurly/transparent.rb +1 -1
- data/lib/recurly/verification.rb +77 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/config/recurly.yml +4 -4
- data/spec/integration/account_spec.rb +12 -0
- data/spec/integration/billing_info_spec.rb +2 -2
- data/spec/integration/charge_spec.rb +0 -1
- data/spec/integration/plan_spec.rb +2 -2
- data/spec/support/vcr.rb +2 -2
- data/spec/unit/verification_spec.rb +76 -0
- data/spec/vcr/account/accept-language-account/1313708721.yml +39 -0
- data/spec/vcr/account/close/1313708721.yml +104 -0
- data/spec/vcr/account/create-blank/1313708721.yml +33 -0
- data/spec/vcr/account/create-duplicate/1313708721.yml +69 -0
- data/spec/vcr/account/create-min/1313708721.yml +38 -0
- data/spec/vcr/account/create/1313708721.yml +39 -0
- data/spec/vcr/account/find/1313708721.yml +107 -0
- data/spec/vcr/account/list/1313708721.yml +878 -0
- data/spec/vcr/account/update/1313708721.yml +158 -0
- data/spec/vcr/billing/create/1313708721.yml +118 -0
- data/spec/vcr/billing/destroy/1313708721.yml +177 -0
- data/spec/vcr/billing/errors/1313708721.yml +71 -0
- data/spec/vcr/billing/find/1313708721.yml +156 -0
- data/spec/vcr/billing/update/1313708721.yml +159 -0
- data/spec/vcr/charge/create/1313708721.yml +153 -0
- data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +206 -0
- data/spec/vcr/charge/list-all/1313708721.yml +198 -0
- data/spec/vcr/charge/list-invoiced/1313708721.yml +294 -0
- data/spec/vcr/charge/list-pending/1313708721.yml +200 -0
- data/spec/vcr/charge/lookup/1313708721.yml +112 -0
- data/spec/vcr/coupon/create/1296774903.yml +96 -170
- data/spec/vcr/coupon/destroy/1296774903.yml +114 -190
- data/spec/vcr/credit/create/1313708090.yml +112 -0
- data/spec/vcr/credit/delete/1313708090.yml +171 -0
- data/spec/vcr/credit/list/1313708090.yml +198 -0
- data/spec/vcr/credit/lookup/1313708090.yml +112 -0
- data/spec/vcr/invoice/create-no-charges/1296674173.yml +100 -185
- data/spec/vcr/invoice/create/1296674173.yml +182 -328
- data/spec/vcr/invoice/list/1296674173.yml +255 -442
- data/spec/vcr/invoice/lookup/1296674173.yml +187 -331
- data/spec/vcr/plan/all.yml +210 -253
- data/spec/vcr/plan/find.yml +115 -187
- data/spec/vcr/plan/update.yml +105 -187
- data/spec/vcr/subscription/addons/add/1296674173.yml +269 -212
- data/spec/vcr/subscription/addons/create/1296674173.yml +172 -212
- data/spec/vcr/subscription/addons/remove/1296674173.yml +257 -212
- data/spec/vcr/subscription/cancel-with-code/1296674173.yml +271 -452
- data/spec/vcr/subscription/cancel/1296674173.yml +234 -394
- data/spec/vcr/subscription/change1/1296674173.yml +237 -402
- data/spec/vcr/subscription/change2/1296674173.yml +238 -402
- data/spec/vcr/subscription/create/1296674173.yml +123 -221
- data/spec/vcr/subscription/find/1296674173.yml +161 -279
- data/spec/vcr/subscription/reactivate/1296674173.yml +261 -431
- data/spec/vcr/subscription/refund-full/1296674173.yml +223 -373
- data/spec/vcr/subscription/refund-none/1296674173.yml +223 -373
- data/spec/vcr/subscription/refund-partial/1296674173.yml +223 -373
- data/spec/vcr/transaction/all/1311126815.yml +215 -0
- data/spec/vcr/transaction/create-no-account/1311126815.yml +51 -0
- data/spec/vcr/transaction/create-with-account/1311126815.yml +125 -0
- data/spec/vcr/transaction/list-filled/1311126815.yml +349 -0
- data/spec/vcr/transaction/list-initial/1311126815.yml +123 -0
- data/spec/vcr/transaction/lookup/1311126815.yml +335 -0
- data/spec/vcr/transaction/refund/1311126815.yml +163 -0
- data/spec/vcr/transaction/void/1311126815.yml +215 -0
- data/spec/vcr/transparent/post-url/1311239470.yml +76 -0
- metadata +207 -154
- data/spec/vcr/account/accept-language-account/1296674173.yml +0 -70
- data/spec/vcr/account/close/1296674173.yml +0 -164
- data/spec/vcr/account/create-blank/1296674173.yml +0 -52
- data/spec/vcr/account/create-duplicate/1296674173.yml +0 -116
- data/spec/vcr/account/create-min/1296674173.yml +0 -66
- data/spec/vcr/account/create/1296674173.yml +0 -70
- data/spec/vcr/account/find/1296674173.yml +0 -169
- data/spec/vcr/account/list/1296674173.yml +0 -55
- data/spec/vcr/account/update/1296674173.yml +0 -258
- data/spec/vcr/billing/create/1296690812.yml +0 -215
- data/spec/vcr/billing/destroy/1296690812.yml +0 -294
- data/spec/vcr/billing/find/1296690812.yml +0 -280
- data/spec/vcr/billing/update/1296690812.yml +0 -297
- data/spec/vcr/charge/create/1296674173.yml +0 -262
- data/spec/vcr/charge/delete-uninvoiced/1296674173.yml +0 -307
- data/spec/vcr/charge/list-all/1296674173.yml +0 -316
- data/spec/vcr/charge/list-invoiced/1296674173.yml +0 -468
- data/spec/vcr/charge/list-pending/1296674173.yml +0 -316
- data/spec/vcr/charge/lookup/1296674173.yml +0 -180
- data/spec/vcr/coupon/create/1296688818.yml +0 -183
- data/spec/vcr/coupon/destroy/1296688818.yml +0 -207
- data/spec/vcr/credit/create/1296674173.yml +0 -121
- data/spec/vcr/credit/delete/1296674173.yml +0 -121
- data/spec/vcr/credit/list/1296674173.yml +0 -121
- data/spec/vcr/credit/lookup/1296674173.yml +0 -121
- data/spec/vcr/plan/delete/1296674173.yml +0 -225
- data/spec/vcr/transaction/all/1296674173.yml +0 -389
- data/spec/vcr/transaction/create-no-account/1296674173.yml +0 -93
- data/spec/vcr/transaction/create-with-account/1296674173.yml +0 -225
- data/spec/vcr/transaction/list-filled/1296674173.yml +0 -487
- data/spec/vcr/transaction/list-initial/1296674173.yml +0 -217
- data/spec/vcr/transaction/lookup/1296674173.yml +0 -563
- data/spec/vcr/transaction/refund/1296674173.yml +0 -287
- data/spec/vcr/transaction/void/1296674173.yml +0 -352
- data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
- data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
- data/spec/vcr/transparent/post-url/1311128087.yml +0 -0
metadata
CHANGED
@@ -1,125 +1,101 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 8
|
9
|
-
version: 0.4.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.10
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Isaac Hall
|
13
9
|
- Jacques Crocker
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2011-08-19 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: activeresource
|
23
|
-
|
24
|
-
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 2
|
30
|
-
- 3
|
31
|
-
version: "2.3"
|
17
|
+
requirement: &70220174170940 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2.3'
|
32
23
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: activesupport
|
36
24
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
25
|
+
version_requirements: *70220174170940
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: activesupport
|
28
|
+
requirement: &70220174146080 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.3'
|
45
34
|
type: :runtime
|
46
|
-
version_requirements: *id002
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: addressable
|
49
35
|
prerelease: false
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
36
|
+
version_requirements: *70220174146080
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: addressable
|
39
|
+
requirement: &70220174145340 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '2.2'
|
58
45
|
type: :runtime
|
59
|
-
version_requirements: *id003
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: nokogiri
|
62
46
|
prerelease: false
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
47
|
+
version_requirements: *70220174145340
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: nokogiri
|
50
|
+
requirement: &70220174144600 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.4'
|
71
56
|
type: :runtime
|
72
|
-
version_requirements: *id004
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: rspec
|
75
57
|
prerelease: false
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
- beta
|
85
|
-
- 22
|
58
|
+
version_requirements: *70220174144600
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: rspec
|
61
|
+
requirement: &70220174143960 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
86
66
|
version: 2.0.0.beta.22
|
87
67
|
type: :development
|
88
|
-
version_requirements: *id005
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: webmock
|
91
68
|
prerelease: false
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
69
|
+
version_requirements: *70220174143960
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: webmock
|
72
|
+
requirement: &70220174143220 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
99
78
|
type: :development
|
100
|
-
version_requirements: *id006
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: vcr
|
103
79
|
prerelease: false
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
80
|
+
version_requirements: *70220174143220
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: vcr
|
83
|
+
requirement: &70220174142440 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
111
89
|
type: :development
|
112
|
-
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: *70220174142440
|
113
92
|
description: A Ruby API wrapper for Recurly. Super Simple Subscription billing.
|
114
|
-
email:
|
93
|
+
email:
|
115
94
|
- support@recurly.com
|
116
95
|
executables: []
|
117
|
-
|
118
96
|
extensions: []
|
119
|
-
|
120
97
|
extra_rdoc_files: []
|
121
|
-
|
122
|
-
files:
|
98
|
+
files:
|
123
99
|
- lib/patches/rails2/active_resource/connection.rb
|
124
100
|
- lib/patches/rails3/active_resource/connection.rb
|
125
101
|
- lib/recurly/account.rb
|
@@ -141,42 +117,124 @@ files:
|
|
141
117
|
- lib/recurly/subscription.rb
|
142
118
|
- lib/recurly/transaction.rb
|
143
119
|
- lib/recurly/transparent.rb
|
120
|
+
- lib/recurly/verification.rb
|
144
121
|
- lib/recurly/version.rb
|
145
122
|
- lib/recurly.rb
|
146
123
|
- init.rb
|
147
124
|
- LICENSE
|
148
125
|
- README.md
|
149
|
-
|
126
|
+
- spec/config/recurly.yml
|
127
|
+
- spec/config/test1.yml
|
128
|
+
- spec/config/test2.yml
|
129
|
+
- spec/integration/account_spec.rb
|
130
|
+
- spec/integration/add_on_spec.rb
|
131
|
+
- spec/integration/billing_info_spec.rb
|
132
|
+
- spec/integration/charge_spec.rb
|
133
|
+
- spec/integration/coupon_spec.rb
|
134
|
+
- spec/integration/credit_spec.rb
|
135
|
+
- spec/integration/invoice_spec.rb
|
136
|
+
- spec/integration/plan_spec.rb
|
137
|
+
- spec/integration/subscription_spec.rb
|
138
|
+
- spec/integration/transaction_spec.rb
|
139
|
+
- spec/integration/transparent_spec.rb
|
140
|
+
- spec/spec_helper.rb
|
141
|
+
- spec/support/factory.rb
|
142
|
+
- spec/support/vcr.rb
|
143
|
+
- spec/unit/account_spec.rb
|
144
|
+
- spec/unit/billing_info_spec.rb
|
145
|
+
- spec/unit/charge_spec.rb
|
146
|
+
- spec/unit/config_spec.rb
|
147
|
+
- spec/unit/coupon_spec.rb
|
148
|
+
- spec/unit/credit_spec.rb
|
149
|
+
- spec/unit/plan_spec.rb
|
150
|
+
- spec/unit/subscription_spec.rb
|
151
|
+
- spec/unit/transaction_spec.rb
|
152
|
+
- spec/unit/transparent_spec.rb
|
153
|
+
- spec/unit/verification_spec.rb
|
154
|
+
- spec/vcr/account/accept-language-account/1313708721.yml
|
155
|
+
- spec/vcr/account/close/1313708721.yml
|
156
|
+
- spec/vcr/account/create/1313708721.yml
|
157
|
+
- spec/vcr/account/create-blank/1313708721.yml
|
158
|
+
- spec/vcr/account/create-duplicate/1313708721.yml
|
159
|
+
- spec/vcr/account/create-min/1313708721.yml
|
160
|
+
- spec/vcr/account/find/1313708721.yml
|
161
|
+
- spec/vcr/account/list/1313708721.yml
|
162
|
+
- spec/vcr/account/update/1313708721.yml
|
163
|
+
- spec/vcr/billing/create/1313708721.yml
|
164
|
+
- spec/vcr/billing/destroy/1313708721.yml
|
165
|
+
- spec/vcr/billing/errors/1313708721.yml
|
166
|
+
- spec/vcr/billing/find/1313708721.yml
|
167
|
+
- spec/vcr/billing/update/1313708721.yml
|
168
|
+
- spec/vcr/charge/create/1313708721.yml
|
169
|
+
- spec/vcr/charge/delete-uninvoiced/1313708721.yml
|
170
|
+
- spec/vcr/charge/list-all/1313708721.yml
|
171
|
+
- spec/vcr/charge/list-invoiced/1313708721.yml
|
172
|
+
- spec/vcr/charge/list-pending/1313708721.yml
|
173
|
+
- spec/vcr/charge/lookup/1313708721.yml
|
174
|
+
- spec/vcr/coupon/create/1296774903.yml
|
175
|
+
- spec/vcr/coupon/destroy/1296774903.yml
|
176
|
+
- spec/vcr/credit/create/1313708090.yml
|
177
|
+
- spec/vcr/credit/delete/1313708090.yml
|
178
|
+
- spec/vcr/credit/list/1313708090.yml
|
179
|
+
- spec/vcr/credit/lookup/1313708090.yml
|
180
|
+
- spec/vcr/invoice/create/1296674173.yml
|
181
|
+
- spec/vcr/invoice/create-no-charges/1296674173.yml
|
182
|
+
- spec/vcr/invoice/list/1296674173.yml
|
183
|
+
- spec/vcr/invoice/lookup/1296674173.yml
|
184
|
+
- spec/vcr/plan/all.yml
|
185
|
+
- spec/vcr/plan/find.yml
|
186
|
+
- spec/vcr/plan/update.yml
|
187
|
+
- spec/vcr/subscription/addons/add/1296674173.yml
|
188
|
+
- spec/vcr/subscription/addons/create/1296674173.yml
|
189
|
+
- spec/vcr/subscription/addons/remove/1296674173.yml
|
190
|
+
- spec/vcr/subscription/cancel/1296674173.yml
|
191
|
+
- spec/vcr/subscription/cancel-with-code/1296674173.yml
|
192
|
+
- spec/vcr/subscription/change1/1296674173.yml
|
193
|
+
- spec/vcr/subscription/change2/1296674173.yml
|
194
|
+
- spec/vcr/subscription/create/1296674173.yml
|
195
|
+
- spec/vcr/subscription/find/1296674173.yml
|
196
|
+
- spec/vcr/subscription/reactivate/1296674173.yml
|
197
|
+
- spec/vcr/subscription/refund-full/1296674173.yml
|
198
|
+
- spec/vcr/subscription/refund-none/1296674173.yml
|
199
|
+
- spec/vcr/subscription/refund-partial/1296674173.yml
|
200
|
+
- spec/vcr/transaction/all/1311126815.yml
|
201
|
+
- spec/vcr/transaction/create-no-account/1311126815.yml
|
202
|
+
- spec/vcr/transaction/create-with-account/1311126815.yml
|
203
|
+
- spec/vcr/transaction/list-filled/1311126815.yml
|
204
|
+
- spec/vcr/transaction/list-initial/1311126815.yml
|
205
|
+
- spec/vcr/transaction/lookup/1311126815.yml
|
206
|
+
- spec/vcr/transaction/refund/1311126815.yml
|
207
|
+
- spec/vcr/transaction/void/1311126815.yml
|
208
|
+
- spec/vcr/transparent/post-url/1311239470.yml
|
150
209
|
homepage: http://github.com/recurly/recurly-client-ruby
|
151
210
|
licenses: []
|
152
|
-
|
153
211
|
post_install_message:
|
154
|
-
rdoc_options:
|
212
|
+
rdoc_options:
|
155
213
|
- --charset=UTF-8
|
156
|
-
require_paths:
|
214
|
+
require_paths:
|
157
215
|
- lib
|
158
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
-
requirements:
|
167
|
-
- - ">="
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
segments:
|
216
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
segments:
|
170
223
|
- 0
|
171
|
-
|
224
|
+
hash: 4492602625249019206
|
225
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
227
|
+
requirements:
|
228
|
+
- - ! '>='
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0'
|
172
231
|
requirements: []
|
173
|
-
|
174
232
|
rubyforge_project: recurly
|
175
|
-
rubygems_version: 1.
|
233
|
+
rubygems_version: 1.8.8
|
176
234
|
signing_key:
|
177
235
|
specification_version: 3
|
178
236
|
summary: Ruby API wrapper for Recurly
|
179
|
-
test_files:
|
237
|
+
test_files:
|
180
238
|
- spec/config/recurly.yml
|
181
239
|
- spec/config/test1.yml
|
182
240
|
- spec/config/test2.yml
|
@@ -204,39 +262,38 @@ test_files:
|
|
204
262
|
- spec/unit/subscription_spec.rb
|
205
263
|
- spec/unit/transaction_spec.rb
|
206
264
|
- spec/unit/transparent_spec.rb
|
207
|
-
- spec/
|
208
|
-
- spec/vcr/account/
|
209
|
-
- spec/vcr/account/
|
210
|
-
- spec/vcr/account/create
|
211
|
-
- spec/vcr/account/create-
|
212
|
-
- spec/vcr/account/create-
|
213
|
-
- spec/vcr/account/
|
214
|
-
- spec/vcr/account/
|
215
|
-
- spec/vcr/account/
|
216
|
-
- spec/vcr/
|
217
|
-
- spec/vcr/billing/
|
218
|
-
- spec/vcr/billing/
|
219
|
-
- spec/vcr/billing/
|
220
|
-
- spec/vcr/
|
221
|
-
- spec/vcr/
|
222
|
-
- spec/vcr/charge/
|
223
|
-
- spec/vcr/charge/
|
224
|
-
- spec/vcr/charge/list-
|
225
|
-
- spec/vcr/charge/
|
226
|
-
- spec/vcr/
|
265
|
+
- spec/unit/verification_spec.rb
|
266
|
+
- spec/vcr/account/accept-language-account/1313708721.yml
|
267
|
+
- spec/vcr/account/close/1313708721.yml
|
268
|
+
- spec/vcr/account/create/1313708721.yml
|
269
|
+
- spec/vcr/account/create-blank/1313708721.yml
|
270
|
+
- spec/vcr/account/create-duplicate/1313708721.yml
|
271
|
+
- spec/vcr/account/create-min/1313708721.yml
|
272
|
+
- spec/vcr/account/find/1313708721.yml
|
273
|
+
- spec/vcr/account/list/1313708721.yml
|
274
|
+
- spec/vcr/account/update/1313708721.yml
|
275
|
+
- spec/vcr/billing/create/1313708721.yml
|
276
|
+
- spec/vcr/billing/destroy/1313708721.yml
|
277
|
+
- spec/vcr/billing/errors/1313708721.yml
|
278
|
+
- spec/vcr/billing/find/1313708721.yml
|
279
|
+
- spec/vcr/billing/update/1313708721.yml
|
280
|
+
- spec/vcr/charge/create/1313708721.yml
|
281
|
+
- spec/vcr/charge/delete-uninvoiced/1313708721.yml
|
282
|
+
- spec/vcr/charge/list-all/1313708721.yml
|
283
|
+
- spec/vcr/charge/list-invoiced/1313708721.yml
|
284
|
+
- spec/vcr/charge/list-pending/1313708721.yml
|
285
|
+
- spec/vcr/charge/lookup/1313708721.yml
|
227
286
|
- spec/vcr/coupon/create/1296774903.yml
|
228
|
-
- spec/vcr/coupon/destroy/1296688818.yml
|
229
287
|
- spec/vcr/coupon/destroy/1296774903.yml
|
230
|
-
- spec/vcr/credit/create/
|
231
|
-
- spec/vcr/credit/delete/
|
232
|
-
- spec/vcr/credit/list/
|
233
|
-
- spec/vcr/credit/lookup/
|
288
|
+
- spec/vcr/credit/create/1313708090.yml
|
289
|
+
- spec/vcr/credit/delete/1313708090.yml
|
290
|
+
- spec/vcr/credit/list/1313708090.yml
|
291
|
+
- spec/vcr/credit/lookup/1313708090.yml
|
234
292
|
- spec/vcr/invoice/create/1296674173.yml
|
235
293
|
- spec/vcr/invoice/create-no-charges/1296674173.yml
|
236
294
|
- spec/vcr/invoice/list/1296674173.yml
|
237
295
|
- spec/vcr/invoice/lookup/1296674173.yml
|
238
296
|
- spec/vcr/plan/all.yml
|
239
|
-
- spec/vcr/plan/delete/1296674173.yml
|
240
297
|
- spec/vcr/plan/find.yml
|
241
298
|
- spec/vcr/plan/update.yml
|
242
299
|
- spec/vcr/subscription/addons/add/1296674173.yml
|
@@ -252,16 +309,12 @@ test_files:
|
|
252
309
|
- spec/vcr/subscription/refund-full/1296674173.yml
|
253
310
|
- spec/vcr/subscription/refund-none/1296674173.yml
|
254
311
|
- spec/vcr/subscription/refund-partial/1296674173.yml
|
255
|
-
- spec/vcr/transaction/all/
|
256
|
-
- spec/vcr/transaction/create-no-account/
|
257
|
-
- spec/vcr/transaction/create-with-account/
|
258
|
-
- spec/vcr/transaction/list-filled/
|
259
|
-
- spec/vcr/transaction/list-initial/
|
260
|
-
- spec/vcr/transaction/lookup/
|
261
|
-
- spec/vcr/transaction/refund/
|
262
|
-
- spec/vcr/transaction/void/
|
263
|
-
- spec/vcr/transparent/post-url/
|
264
|
-
- spec/vcr/transparent/post-url/1311127583.yml
|
265
|
-
- spec/vcr/transparent/post-url/1311128042.yml
|
266
|
-
- spec/vcr/transparent/post-url/1311128073.yml
|
267
|
-
- spec/vcr/transparent/post-url/1311128087.yml
|
312
|
+
- spec/vcr/transaction/all/1311126815.yml
|
313
|
+
- spec/vcr/transaction/create-no-account/1311126815.yml
|
314
|
+
- spec/vcr/transaction/create-with-account/1311126815.yml
|
315
|
+
- spec/vcr/transaction/list-filled/1311126815.yml
|
316
|
+
- spec/vcr/transaction/list-initial/1311126815.yml
|
317
|
+
- spec/vcr/transaction/lookup/1311126815.yml
|
318
|
+
- spec/vcr/transaction/refund/1311126815.yml
|
319
|
+
- spec/vcr/transaction/void/1311126815.yml
|
320
|
+
- spec/vcr/transparent/post-url/1311239470.yml
|
@@ -1,70 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :post
|
5
|
-
uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
|
6
|
-
body: |
|
7
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
8
|
-
<account>
|
9
|
-
<account-code>account1-french-1296674173</account-code>
|
10
|
-
<first-name>Verena</first-name>
|
11
|
-
<last-name>Test</last-name>
|
12
|
-
<email>verena@test.com</email>
|
13
|
-
<company-name>Recurly Ruby Gem</company-name>
|
14
|
-
<accept-language>fr</accept-language>
|
15
|
-
</account>
|
16
|
-
|
17
|
-
headers:
|
18
|
-
authorization:
|
19
|
-
- Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
|
20
|
-
content-type:
|
21
|
-
- application/xml
|
22
|
-
accept:
|
23
|
-
- "*/*"
|
24
|
-
user-agent:
|
25
|
-
- Ruby
|
26
|
-
connection:
|
27
|
-
- close
|
28
|
-
response: !ruby/struct:VCR::Response
|
29
|
-
status: !ruby/struct:VCR::ResponseStatus
|
30
|
-
code: 201
|
31
|
-
message: "Created "
|
32
|
-
headers:
|
33
|
-
cache-control:
|
34
|
-
- no-cache
|
35
|
-
location:
|
36
|
-
- http://litle-test.recurly.local:3000/accounts/account1-french-1296674173
|
37
|
-
x-runtime:
|
38
|
-
- "583"
|
39
|
-
content-type:
|
40
|
-
- application/xml; charset=utf-8
|
41
|
-
content-length:
|
42
|
-
- "585"
|
43
|
-
server:
|
44
|
-
- WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
|
45
|
-
date:
|
46
|
-
- Thu, 03 Feb 2011 22:17:14 GMT
|
47
|
-
connection:
|
48
|
-
- close
|
49
|
-
set-cookie:
|
50
|
-
- account_credentials=efc5fa78ea4fc57bad02b327f1cb8935698f5378749dcf787532fefdf181210f399cf370898720389cdc4b30d7ce50c251fa1bdb911e4eb77395624ce6f39ba7%3A%3A; domain=.recurly.local; path=/
|
51
|
-
- ""
|
52
|
-
- _recurly_session=d8966c6817ac71fc093284ed2ef96a91; domain=.recurly.local; path=/; HttpOnly
|
53
|
-
body: |
|
54
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
55
|
-
<account>
|
56
|
-
<id>account1-french-1296674173</id>
|
57
|
-
<account_code>account1-french-1296674173</account_code>
|
58
|
-
<username></username>
|
59
|
-
<email>verena@test.com</email>
|
60
|
-
<first_name>Verena</first_name>
|
61
|
-
<last_name>Test</last_name>
|
62
|
-
<company_name>Recurly Ruby Gem</company_name>
|
63
|
-
<balance_in_cents type="integer">0</balance_in_cents>
|
64
|
-
<closed type="boolean">false</closed>
|
65
|
-
<hosted_login_token>a88be6968cb348ceb8d7503aebdaa483</hosted_login_token>
|
66
|
-
<created_at type="datetime">2011-02-03T22:17:14Z</created_at>
|
67
|
-
<state>active</state>
|
68
|
-
</account>
|
69
|
-
|
70
|
-
http_version: "1.1"
|