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.

Files changed (114) hide show
  1. data/README.md +2 -2
  2. data/lib/recurly.rb +2 -1
  3. data/lib/recurly/account.rb +2 -2
  4. data/lib/recurly/base.rb +30 -12
  5. data/lib/recurly/billing_info.rb +2 -2
  6. data/lib/recurly/exceptions.rb +13 -0
  7. data/lib/recurly/plan.rb +1 -1
  8. data/lib/recurly/subscription.rb +2 -2
  9. data/lib/recurly/transaction.rb +2 -2
  10. data/lib/recurly/transparent.rb +1 -1
  11. data/lib/recurly/verification.rb +77 -0
  12. data/lib/recurly/version.rb +1 -1
  13. data/spec/config/recurly.yml +4 -4
  14. data/spec/integration/account_spec.rb +12 -0
  15. data/spec/integration/billing_info_spec.rb +2 -2
  16. data/spec/integration/charge_spec.rb +0 -1
  17. data/spec/integration/plan_spec.rb +2 -2
  18. data/spec/support/vcr.rb +2 -2
  19. data/spec/unit/verification_spec.rb +76 -0
  20. data/spec/vcr/account/accept-language-account/1313708721.yml +39 -0
  21. data/spec/vcr/account/close/1313708721.yml +104 -0
  22. data/spec/vcr/account/create-blank/1313708721.yml +33 -0
  23. data/spec/vcr/account/create-duplicate/1313708721.yml +69 -0
  24. data/spec/vcr/account/create-min/1313708721.yml +38 -0
  25. data/spec/vcr/account/create/1313708721.yml +39 -0
  26. data/spec/vcr/account/find/1313708721.yml +107 -0
  27. data/spec/vcr/account/list/1313708721.yml +878 -0
  28. data/spec/vcr/account/update/1313708721.yml +158 -0
  29. data/spec/vcr/billing/create/1313708721.yml +118 -0
  30. data/spec/vcr/billing/destroy/1313708721.yml +177 -0
  31. data/spec/vcr/billing/errors/1313708721.yml +71 -0
  32. data/spec/vcr/billing/find/1313708721.yml +156 -0
  33. data/spec/vcr/billing/update/1313708721.yml +159 -0
  34. data/spec/vcr/charge/create/1313708721.yml +153 -0
  35. data/spec/vcr/charge/delete-uninvoiced/1313708721.yml +206 -0
  36. data/spec/vcr/charge/list-all/1313708721.yml +198 -0
  37. data/spec/vcr/charge/list-invoiced/1313708721.yml +294 -0
  38. data/spec/vcr/charge/list-pending/1313708721.yml +200 -0
  39. data/spec/vcr/charge/lookup/1313708721.yml +112 -0
  40. data/spec/vcr/coupon/create/1296774903.yml +96 -170
  41. data/spec/vcr/coupon/destroy/1296774903.yml +114 -190
  42. data/spec/vcr/credit/create/1313708090.yml +112 -0
  43. data/spec/vcr/credit/delete/1313708090.yml +171 -0
  44. data/spec/vcr/credit/list/1313708090.yml +198 -0
  45. data/spec/vcr/credit/lookup/1313708090.yml +112 -0
  46. data/spec/vcr/invoice/create-no-charges/1296674173.yml +100 -185
  47. data/spec/vcr/invoice/create/1296674173.yml +182 -328
  48. data/spec/vcr/invoice/list/1296674173.yml +255 -442
  49. data/spec/vcr/invoice/lookup/1296674173.yml +187 -331
  50. data/spec/vcr/plan/all.yml +210 -253
  51. data/spec/vcr/plan/find.yml +115 -187
  52. data/spec/vcr/plan/update.yml +105 -187
  53. data/spec/vcr/subscription/addons/add/1296674173.yml +269 -212
  54. data/spec/vcr/subscription/addons/create/1296674173.yml +172 -212
  55. data/spec/vcr/subscription/addons/remove/1296674173.yml +257 -212
  56. data/spec/vcr/subscription/cancel-with-code/1296674173.yml +271 -452
  57. data/spec/vcr/subscription/cancel/1296674173.yml +234 -394
  58. data/spec/vcr/subscription/change1/1296674173.yml +237 -402
  59. data/spec/vcr/subscription/change2/1296674173.yml +238 -402
  60. data/spec/vcr/subscription/create/1296674173.yml +123 -221
  61. data/spec/vcr/subscription/find/1296674173.yml +161 -279
  62. data/spec/vcr/subscription/reactivate/1296674173.yml +261 -431
  63. data/spec/vcr/subscription/refund-full/1296674173.yml +223 -373
  64. data/spec/vcr/subscription/refund-none/1296674173.yml +223 -373
  65. data/spec/vcr/subscription/refund-partial/1296674173.yml +223 -373
  66. data/spec/vcr/transaction/all/1311126815.yml +215 -0
  67. data/spec/vcr/transaction/create-no-account/1311126815.yml +51 -0
  68. data/spec/vcr/transaction/create-with-account/1311126815.yml +125 -0
  69. data/spec/vcr/transaction/list-filled/1311126815.yml +349 -0
  70. data/spec/vcr/transaction/list-initial/1311126815.yml +123 -0
  71. data/spec/vcr/transaction/lookup/1311126815.yml +335 -0
  72. data/spec/vcr/transaction/refund/1311126815.yml +163 -0
  73. data/spec/vcr/transaction/void/1311126815.yml +215 -0
  74. data/spec/vcr/transparent/post-url/1311239470.yml +76 -0
  75. metadata +207 -154
  76. data/spec/vcr/account/accept-language-account/1296674173.yml +0 -70
  77. data/spec/vcr/account/close/1296674173.yml +0 -164
  78. data/spec/vcr/account/create-blank/1296674173.yml +0 -52
  79. data/spec/vcr/account/create-duplicate/1296674173.yml +0 -116
  80. data/spec/vcr/account/create-min/1296674173.yml +0 -66
  81. data/spec/vcr/account/create/1296674173.yml +0 -70
  82. data/spec/vcr/account/find/1296674173.yml +0 -169
  83. data/spec/vcr/account/list/1296674173.yml +0 -55
  84. data/spec/vcr/account/update/1296674173.yml +0 -258
  85. data/spec/vcr/billing/create/1296690812.yml +0 -215
  86. data/spec/vcr/billing/destroy/1296690812.yml +0 -294
  87. data/spec/vcr/billing/find/1296690812.yml +0 -280
  88. data/spec/vcr/billing/update/1296690812.yml +0 -297
  89. data/spec/vcr/charge/create/1296674173.yml +0 -262
  90. data/spec/vcr/charge/delete-uninvoiced/1296674173.yml +0 -307
  91. data/spec/vcr/charge/list-all/1296674173.yml +0 -316
  92. data/spec/vcr/charge/list-invoiced/1296674173.yml +0 -468
  93. data/spec/vcr/charge/list-pending/1296674173.yml +0 -316
  94. data/spec/vcr/charge/lookup/1296674173.yml +0 -180
  95. data/spec/vcr/coupon/create/1296688818.yml +0 -183
  96. data/spec/vcr/coupon/destroy/1296688818.yml +0 -207
  97. data/spec/vcr/credit/create/1296674173.yml +0 -121
  98. data/spec/vcr/credit/delete/1296674173.yml +0 -121
  99. data/spec/vcr/credit/list/1296674173.yml +0 -121
  100. data/spec/vcr/credit/lookup/1296674173.yml +0 -121
  101. data/spec/vcr/plan/delete/1296674173.yml +0 -225
  102. data/spec/vcr/transaction/all/1296674173.yml +0 -389
  103. data/spec/vcr/transaction/create-no-account/1296674173.yml +0 -93
  104. data/spec/vcr/transaction/create-with-account/1296674173.yml +0 -225
  105. data/spec/vcr/transaction/list-filled/1296674173.yml +0 -487
  106. data/spec/vcr/transaction/list-initial/1296674173.yml +0 -217
  107. data/spec/vcr/transaction/lookup/1296674173.yml +0 -563
  108. data/spec/vcr/transaction/refund/1296674173.yml +0 -287
  109. data/spec/vcr/transaction/void/1296674173.yml +0 -352
  110. data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
  111. data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
  112. data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
  113. data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
  114. 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
- prerelease: false
5
- segments:
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
- date: 2011-07-21 00:00:00 -07:00
19
- default_executable:
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
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
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
- requirement: &id002 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 2
43
- - 3
44
- version: "2.3"
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
- requirement: &id003 !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- segments:
55
- - 2
56
- - 2
57
- version: "2.2"
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
- requirement: &id004 !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- segments:
68
- - 1
69
- - 4
70
- version: "1.4"
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
- requirement: &id005 !ruby/object:Gem::Requirement
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- segments:
81
- - 2
82
- - 0
83
- - 0
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
- requirement: &id006 !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- segments:
97
- - 0
98
- version: "0"
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
- requirement: &id007 !ruby/object:Gem::Requirement
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- segments:
109
- - 0
110
- version: "0"
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
- version_requirements: *id007
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
- has_rdoc: true
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
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- segments:
163
- - 0
164
- version: "0"
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
- version: "0"
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.3.6
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/vcr/account/accept-language-account/1296674173.yml
208
- - spec/vcr/account/close/1296674173.yml
209
- - spec/vcr/account/create/1296674173.yml
210
- - spec/vcr/account/create-blank/1296674173.yml
211
- - spec/vcr/account/create-duplicate/1296674173.yml
212
- - spec/vcr/account/create-min/1296674173.yml
213
- - spec/vcr/account/find/1296674173.yml
214
- - spec/vcr/account/list/1296674173.yml
215
- - spec/vcr/account/update/1296674173.yml
216
- - spec/vcr/billing/create/1296690812.yml
217
- - spec/vcr/billing/destroy/1296690812.yml
218
- - spec/vcr/billing/find/1296690812.yml
219
- - spec/vcr/billing/update/1296690812.yml
220
- - spec/vcr/charge/create/1296674173.yml
221
- - spec/vcr/charge/delete-uninvoiced/1296674173.yml
222
- - spec/vcr/charge/list-all/1296674173.yml
223
- - spec/vcr/charge/list-invoiced/1296674173.yml
224
- - spec/vcr/charge/list-pending/1296674173.yml
225
- - spec/vcr/charge/lookup/1296674173.yml
226
- - spec/vcr/coupon/create/1296688818.yml
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/1296674173.yml
231
- - spec/vcr/credit/delete/1296674173.yml
232
- - spec/vcr/credit/list/1296674173.yml
233
- - spec/vcr/credit/lookup/1296674173.yml
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/1296674173.yml
256
- - spec/vcr/transaction/create-no-account/1296674173.yml
257
- - spec/vcr/transaction/create-with-account/1296674173.yml
258
- - spec/vcr/transaction/list-filled/1296674173.yml
259
- - spec/vcr/transaction/list-initial/1296674173.yml
260
- - spec/vcr/transaction/lookup/1296674173.yml
261
- - spec/vcr/transaction/refund/1296674173.yml
262
- - spec/vcr/transaction/void/1296674173.yml
263
- - spec/vcr/transparent/post-url/1311127536.yml
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"