recurly 0.4.7 → 0.4.8

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 (77) hide show
  1. data/README.md +6 -0
  2. data/lib/recurly/base.rb +15 -14
  3. data/lib/recurly/subscription.rb +2 -0
  4. data/lib/recurly/version.rb +1 -1
  5. data/spec/config/recurly.yml +4 -10
  6. data/spec/integration/transparent_spec.rb +72 -0
  7. data/spec/unit/transparent_spec.rb +6 -6
  8. data/spec/vcr/account/accept-language-account/{1301979678.yml → 1296674173.yml} +16 -18
  9. data/spec/vcr/account/close/{1301979678.yml → 1296674173.yml} +37 -39
  10. data/spec/vcr/account/create-blank/{1301979678.yml → 1296674173.yml} +8 -12
  11. data/spec/vcr/account/create-duplicate/{1301979678.yml → 1296674173.yml} +21 -27
  12. data/spec/vcr/account/create-min/{1301979678.yml → 1296674173.yml} +16 -18
  13. data/spec/vcr/account/create/{1301979678.yml → 1296674173.yml} +16 -18
  14. data/spec/vcr/account/find/{1301979678.yml → 1296674173.yml} +36 -38
  15. data/spec/vcr/account/list/1296674173.yml +55 -0
  16. data/spec/vcr/account/update/{1301979678.yml → 1296674173.yml} +59 -65
  17. data/spec/vcr/billing/create/{1302025874.yml → 1296690812.yml} +43 -45
  18. data/spec/vcr/billing/destroy/{1302025874.yml → 1296690812.yml} +58 -60
  19. data/spec/vcr/billing/find/{1302025874.yml → 1296690812.yml} +56 -58
  20. data/spec/vcr/billing/update/{1302025874.yml → 1296690812.yml} +59 -61
  21. data/spec/vcr/charge/create/{1297746103.yml → 1296674173.yml} +58 -64
  22. data/spec/vcr/charge/delete-uninvoiced/{1297746103.yml → 1296674173.yml} +66 -72
  23. data/spec/vcr/charge/list-all/{1297746103.yml → 1296674173.yml} +77 -91
  24. data/spec/vcr/charge/list-invoiced/{1297746103.yml → 1296674173.yml} +115 -131
  25. data/spec/vcr/charge/list-pending/{1297746103.yml → 1296674173.yml} +77 -91
  26. data/spec/vcr/charge/lookup/{1297746103.yml → 1296674173.yml} +43 -49
  27. data/spec/vcr/coupon/create/1296688818.yml +183 -0
  28. data/spec/vcr/coupon/create/1296774903.yml +183 -0
  29. data/spec/vcr/coupon/destroy/1296688818.yml +207 -0
  30. data/spec/vcr/coupon/destroy/1296774903.yml +207 -0
  31. data/spec/vcr/{coupon/create/1299714521.yml → credit/create/1296674173.yml} +34 -32
  32. data/spec/vcr/{billing/errors/1302025874.yml → credit/delete/1296674173.yml} +33 -42
  33. data/spec/vcr/{coupon/destroy/1299714521.yml → credit/list/1296674173.yml} +35 -33
  34. data/spec/vcr/credit/lookup/1296674173.yml +121 -0
  35. data/spec/vcr/invoice/create-no-charges/{1297746103.yml → 1296674173.yml} +40 -42
  36. data/spec/vcr/invoice/create/{1297746103.yml → 1296674173.yml} +77 -83
  37. data/spec/vcr/invoice/list/{1297746103.yml → 1296674173.yml} +107 -113
  38. data/spec/vcr/invoice/lookup/{1297746103.yml → 1296674173.yml} +77 -81
  39. data/spec/vcr/plan/all.yml +117 -98
  40. data/spec/vcr/plan/delete/1296674173.yml +225 -0
  41. data/spec/vcr/plan/find.yml +66 -36
  42. data/spec/vcr/plan/update.yml +64 -144
  43. data/spec/vcr/subscription/addons/add/{1301885121.yml → 1296674173.yml} +58 -51
  44. data/spec/vcr/subscription/addons/create/{1301885121.yml → 1296674173.yml} +58 -51
  45. data/spec/vcr/subscription/addons/remove/{1301885121.yml → 1296674173.yml} +58 -51
  46. data/spec/vcr/subscription/cancel-with-code/{1301881900.yml → 1296674173.yml} +135 -133
  47. data/spec/vcr/subscription/cancel/{1301881900.yml → 1296674173.yml} +117 -114
  48. data/spec/vcr/subscription/change1/{1301881900.yml → 1296674173.yml} +113 -110
  49. data/spec/vcr/subscription/change2/{1301881900.yml → 1296674173.yml} +112 -109
  50. data/spec/vcr/subscription/create/{1301881900.yml → 1296674173.yml} +65 -59
  51. data/spec/vcr/subscription/find/{1301881900.yml → 1296674173.yml} +81 -76
  52. data/spec/vcr/subscription/reactivate/{1301881900.yml → 1296674173.yml} +127 -124
  53. data/spec/vcr/subscription/refund-full/1296674173.yml +400 -0
  54. data/spec/vcr/subscription/refund-none/{1301881900.yml → 1296674173.yml} +106 -102
  55. data/spec/vcr/subscription/refund-partial/1296674173.yml +400 -0
  56. data/spec/vcr/transaction/all/{1301883347.yml → 1296674173.yml} +126 -126
  57. data/spec/vcr/transaction/create-no-account/{1301883347.yml → 1296674173.yml} +16 -16
  58. data/spec/vcr/transaction/create-with-account/{1301883347.yml → 1296674173.yml} +45 -51
  59. data/spec/vcr/transaction/list-filled/{1301883347.yml → 1296674173.yml} +91 -221
  60. data/spec/vcr/transaction/list-initial/{1301883347.yml → 1296674173.yml} +44 -46
  61. data/spec/vcr/transaction/lookup/{1301883347.yml → 1296674173.yml} +107 -121
  62. data/spec/vcr/transaction/refund/{1301883347.yml → 1296674173.yml} +57 -63
  63. data/spec/vcr/transaction/void/{1301883347.yml → 1296674173.yml} +69 -75
  64. data/spec/vcr/transparent/post-url/1311127536.yml +0 -0
  65. data/spec/vcr/transparent/post-url/1311127583.yml +0 -0
  66. data/spec/vcr/transparent/post-url/1311128042.yml +0 -0
  67. data/spec/vcr/transparent/post-url/1311128073.yml +0 -0
  68. data/spec/vcr/transparent/post-url/1311128087.yml +0 -0
  69. metadata +97 -155
  70. data/spec/vcr/account/list/1301979678.yml +0 -1588
  71. data/spec/vcr/credit/create/1299714599.yml +0 -186
  72. data/spec/vcr/credit/delete/1299714599.yml +0 -265
  73. data/spec/vcr/credit/list/1299714599.yml +0 -330
  74. data/spec/vcr/credit/lookup/1299714599.yml +0 -186
  75. data/spec/vcr/subscription/refund-full/1301881900.yml +0 -334
  76. data/spec/vcr/subscription/refund-partial/1301881900.yml +0 -334
  77. data/spec/vcr/transparent/post-url/1301879142.yml +0 -129
@@ -2,19 +2,17 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/transactions.xml
5
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <transaction>
9
9
  <account>
10
- <account-code>transaction-create-with-accout-1301883347</account-code>
10
+ <account-code>transaction-create-with-accout-1296674173</account-code>
11
11
  <first-name>Verena</first-name>
12
12
  <last-name>Test</last-name>
13
13
  <email>verena@test.com</email>
14
14
  <company-name>Recurly Ruby Gem</company-name>
15
15
  <billing-info>
16
- <first-name>Verena</first-name>
17
- <last-name>Test</last-name>
18
16
  <address1>123 Test St</address1>
19
17
  <city>San Francisco</city>
20
18
  <state>CA</state>
@@ -23,7 +21,7 @@
23
21
  <credit-card>
24
22
  <number>4111111111111111</number>
25
23
  <year type="integer">2012</year>
26
- <month type="integer">4</month>
24
+ <month type="integer">2</month>
27
25
  <verification-value>123</verification-value>
28
26
  </credit-card>
29
27
  </billing-info>
@@ -34,13 +32,13 @@
34
32
 
35
33
  headers:
36
34
  authorization:
37
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
38
- user-agent:
39
- - Recurly Ruby Client v0.4.6
35
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
40
36
  content-type:
41
37
  - application/xml
42
38
  accept:
43
39
  - "*/*"
40
+ user-agent:
41
+ - Ruby
44
42
  connection:
45
43
  - close
46
44
  response: !ruby/struct:VCR::Response
@@ -51,28 +49,30 @@
51
49
  cache-control:
52
50
  - no-cache
53
51
  location:
54
- - http://app.recurly.local:3000/transactions/ab463efa4d514c58b1e34bd44c07f378
52
+ - http://litle-test.recurly.local:3000/transactions/bada094d35ec4ca8822320bb8062a8c9
55
53
  x-runtime:
56
- - "2764"
54
+ - "4664"
57
55
  content-type:
58
56
  - application/xml; charset=utf-8
59
57
  content-length:
60
58
  - "871"
61
59
  server:
62
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
60
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
63
61
  date:
64
- - Thu, 21 Apr 2011 18:04:58 GMT
62
+ - Thu, 03 Feb 2011 22:24:27 GMT
65
63
  connection:
66
64
  - close
67
65
  set-cookie:
68
- - _recurly_session=a8aedf3db9b49cae7114960337480922; domain=.recurly.local; path=/; HttpOnly
66
+ - account_credentials=67fa4108827dd3427adffd7527322a6a1051facaf436e346fd0efb6145b18b5db2959c2aec68c6764ed1e355b974f7f80a003856ecb860008d032716679d2391%3A%3A; domain=.recurly.local; path=/
67
+ - ""
68
+ - _recurly_session=5d9a3b771b9c008ae95d2c7582a106ea; domain=.recurly.local; path=/; HttpOnly
69
69
  body: |
70
70
  <?xml version="1.0" encoding="UTF-8"?>
71
71
  <transaction type="Payment">
72
- <id>ab463efa4d514c58b1e34bd44c07f378</id>
73
- <account_code>transaction-create-with-accout-1301883347</account_code>
72
+ <id>bada094d35ec4ca8822320bb8062a8c9</id>
73
+ <account_code>transaction-create-with-accout-1296674173</account_code>
74
74
  <action>purchase</action>
75
- <date type="datetime">2011-04-21T18:04:56Z</date>
75
+ <date type="datetime">2011-02-03T22:24:24Z</date>
76
76
  <amount_in_cents type="integer">700</amount_in_cents>
77
77
  <status>success</status>
78
78
  <message>Test Gateway: Successful test transaction</message>
@@ -2,31 +2,27 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
5
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>transaction-create-with-account-1301883347</account-code>
9
+ <account-code>transaction-create-with-account-1296674173</account-code>
10
10
  <first-name>Verena</first-name>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <company-name>Recurly Ruby Gem</company-name>
14
- <billing-info>
15
- <credit-card>
16
- </credit-card>
17
- </billing-info>
18
14
  <accept-language type="yaml" nil="true"></accept-language>
19
15
  </account>
20
16
 
21
17
  headers:
22
18
  authorization:
23
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
24
- user-agent:
25
- - Recurly Ruby Client v0.4.6
19
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
26
20
  content-type:
27
21
  - application/xml
28
22
  accept:
29
23
  - "*/*"
24
+ user-agent:
25
+ - Ruby
30
26
  connection:
31
27
  - close
32
28
  response: !ruby/struct:VCR::Response
@@ -37,26 +33,28 @@
37
33
  cache-control:
38
34
  - no-cache
39
35
  location:
40
- - http://app.recurly.local:3000/accounts/transaction-create-with-account-1301883347
36
+ - http://litle-test.recurly.local:3000/accounts/transaction-create-with-account-1296674173
41
37
  x-runtime:
42
- - "363"
38
+ - "590"
43
39
  content-type:
44
40
  - application/xml; charset=utf-8
45
41
  content-length:
46
42
  - "617"
47
43
  server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
44
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
49
45
  date:
50
- - Thu, 21 Apr 2011 18:05:00 GMT
46
+ - Thu, 03 Feb 2011 22:24:30 GMT
51
47
  connection:
52
48
  - close
53
49
  set-cookie:
54
- - _recurly_session=73ed632215c3db4fb0ca3527c24a8a47; domain=.recurly.local; path=/; HttpOnly
50
+ - account_credentials=7a73db2306cd38e91b2422388121b3dea06e8797bd904bf7fe92f02e7e95c6dacf448f66087b32974b91eb59a833d701c47eeb950b1713fe176bae0283262be0%3A%3A; domain=.recurly.local; path=/
51
+ - ""
52
+ - _recurly_session=95d00a2495efc318c446e393689ebe42; domain=.recurly.local; path=/; HttpOnly
55
53
  body: |
56
54
  <?xml version="1.0" encoding="UTF-8"?>
57
55
  <account>
58
- <id>transaction-create-with-account-1301883347</id>
59
- <account_code>transaction-create-with-account-1301883347</account_code>
56
+ <id>transaction-create-with-account-1296674173</id>
57
+ <account_code>transaction-create-with-account-1296674173</account_code>
60
58
  <username></username>
61
59
  <email>verena@test.com</email>
62
60
  <first_name>Verena</first_name>
@@ -64,8 +62,8 @@
64
62
  <company_name>Recurly Ruby Gem</company_name>
65
63
  <balance_in_cents type="integer">0</balance_in_cents>
66
64
  <closed type="boolean">false</closed>
67
- <hosted_login_token>7c3872d9f1fa4e77bf4e16c0c4793377</hosted_login_token>
68
- <created_at type="datetime">2011-04-21T18:05:00Z</created_at>
65
+ <hosted_login_token>89e2cbcd70894dce9a3eaac8435c91ba</hosted_login_token>
66
+ <created_at type="datetime">2011-02-03T22:24:30Z</created_at>
69
67
  <state>active</state>
70
68
  </account>
71
69
 
@@ -73,12 +71,10 @@
73
71
  - !ruby/struct:VCR::HTTPInteraction
74
72
  request: !ruby/struct:VCR::Request
75
73
  method: :put
76
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/transaction-create-with-account-1301883347/billing_info.xml
74
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/transaction-create-with-account-1296674173/billing_info.xml
77
75
  body: |
78
76
  <?xml version="1.0" encoding="UTF-8"?>
79
77
  <billing-info>
80
- <first-name>Verena</first-name>
81
- <last-name>Test</last-name>
82
78
  <address1>123 Test St</address1>
83
79
  <city>San Francisco</city>
84
80
  <state>CA</state>
@@ -87,21 +83,23 @@
87
83
  <credit-card>
88
84
  <number>4111111111111111</number>
89
85
  <year type="integer">2012</year>
90
- <month type="integer">4</month>
86
+ <month type="integer">2</month>
91
87
  <verification-value>123</verification-value>
92
88
  </credit-card>
93
- <account-code>transaction-create-with-account-1301883347</account-code>
89
+ <account-code>transaction-create-with-account-1296674173</account-code>
90
+ <first-name>Verena</first-name>
91
+ <last-name>Test</last-name>
94
92
  </billing-info>
95
93
 
96
94
  headers:
97
95
  authorization:
98
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
99
- user-agent:
100
- - Recurly Ruby Client v0.4.6
96
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
101
97
  content-type:
102
98
  - application/xml
103
99
  accept:
104
100
  - "*/*"
101
+ user-agent:
102
+ - Ruby
105
103
  connection:
106
104
  - close
107
105
  response: !ruby/struct:VCR::Response
@@ -110,27 +108,27 @@
110
108
  message: "OK "
111
109
  headers:
112
110
  x-runtime:
113
- - "1438"
111
+ - "1677"
114
112
  content-type:
115
113
  - application/xml; charset=utf-8
116
114
  etag:
117
- - "\"c3064d090bf9eaa5a726c229c4ee49ca\""
115
+ - "\"cb765597f1b08920e415a74b14b16820\""
118
116
  cache-control:
119
117
  - private, max-age=0, must-revalidate
120
118
  content-length:
121
119
  - "657"
122
120
  server:
123
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
121
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
124
122
  date:
125
- - Thu, 21 Apr 2011 18:05:04 GMT
123
+ - Thu, 03 Feb 2011 22:24:34 GMT
126
124
  connection:
127
125
  - close
128
126
  set-cookie:
129
- - _recurly_session=3076c87551168a58bd453114c8fd77c8; domain=.recurly.local; path=/; HttpOnly
127
+ - _recurly_session=966a48911485f6756c3e43402ddcc744; domain=.recurly.local; path=/; HttpOnly
130
128
  body: |
131
129
  <?xml version="1.0" encoding="UTF-8"?>
132
130
  <billing_info>
133
- <account_code>transaction-create-with-account-1301883347</account_code>
131
+ <account_code>transaction-create-with-account-1296674173</account_code>
134
132
  <first_name>Verena</first_name>
135
133
  <last_name>Test</last_name>
136
134
  <address1>123 Test St</address1>
@@ -145,26 +143,22 @@
145
143
  <credit_card>
146
144
  <type>visa</type>
147
145
  <last_four>1111</last_four>
148
- <month type="integer">4</month>
146
+ <month type="integer">2</month>
149
147
  <year type="integer">2012</year>
150
148
  </credit_card>
151
- <updated_at type="datetime">2011-04-21T18:05:04Z</updated_at>
149
+ <updated_at type="datetime">2011-02-03T22:24:34Z</updated_at>
152
150
  </billing_info>
153
151
 
154
152
  http_version: "1.1"
155
153
  - !ruby/struct:VCR::HTTPInteraction
156
154
  request: !ruby/struct:VCR::Request
157
155
  method: :post
158
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/transactions.xml
156
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
159
157
  body: |
160
158
  <?xml version="1.0" encoding="UTF-8"?>
161
159
  <transaction>
162
160
  <account>
163
- <account-code>transaction-create-with-account-1301883347</account-code>
164
- <billing-info>
165
- <credit-card>
166
- </credit-card>
167
- </billing-info>
161
+ <account-code>transaction-create-with-account-1296674173</account-code>
168
162
  </account>
169
163
  <amount-in-cents type="integer">700</amount-in-cents>
170
164
  <description>test transaction for $7</description>
@@ -172,13 +166,13 @@
172
166
 
173
167
  headers:
174
168
  authorization:
175
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
176
- user-agent:
177
- - Recurly Ruby Client v0.4.6
169
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
178
170
  content-type:
179
171
  - application/xml
180
172
  accept:
181
173
  - "*/*"
174
+ user-agent:
175
+ - Ruby
182
176
  connection:
183
177
  - close
184
178
  response: !ruby/struct:VCR::Response
@@ -189,28 +183,28 @@
189
183
  cache-control:
190
184
  - no-cache
191
185
  location:
192
- - http://app.recurly.local:3000/transactions/af62b155590c43a588e7d0a33f988bdd
186
+ - http://litle-test.recurly.local:3000/transactions/7a53ae4b1d7d4f768010ca03f8a91210
193
187
  x-runtime:
194
- - "1967"
188
+ - "4235"
195
189
  content-type:
196
190
  - application/xml; charset=utf-8
197
191
  content-length:
198
192
  - "872"
199
193
  server:
200
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
194
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
201
195
  date:
202
- - Thu, 21 Apr 2011 18:05:08 GMT
196
+ - Thu, 03 Feb 2011 22:24:40 GMT
203
197
  connection:
204
198
  - close
205
199
  set-cookie:
206
- - _recurly_session=065534d6ec05e59bb91789b253f07d11; domain=.recurly.local; path=/; HttpOnly
200
+ - _recurly_session=e759b1858561e5acaf2b31c2b917fb1a; domain=.recurly.local; path=/; HttpOnly
207
201
  body: |
208
202
  <?xml version="1.0" encoding="UTF-8"?>
209
203
  <transaction type="Payment">
210
- <id>af62b155590c43a588e7d0a33f988bdd</id>
211
- <account_code>transaction-create-with-account-1301883347</account_code>
204
+ <id>7a53ae4b1d7d4f768010ca03f8a91210</id>
205
+ <account_code>transaction-create-with-account-1296674173</account_code>
212
206
  <action>purchase</action>
213
- <date type="datetime">2011-04-21T18:05:07Z</date>
207
+ <date type="datetime">2011-02-03T22:24:37Z</date>
214
208
  <amount_in_cents type="integer">700</amount_in_cents>
215
209
  <status>success</status>
216
210
  <message>Test Gateway: Successful test transaction</message>
@@ -2,31 +2,27 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts.xml
5
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts.xml
6
6
  body: |
7
7
  <?xml version="1.0" encoding="UTF-8"?>
8
8
  <account>
9
- <account-code>transaction-list-filled-1301883347</account-code>
9
+ <account-code>transaction-list-filled-1296674173</account-code>
10
10
  <first-name>Verena</first-name>
11
11
  <last-name>Test</last-name>
12
12
  <email>verena@test.com</email>
13
13
  <company-name>Recurly Ruby Gem</company-name>
14
- <billing-info>
15
- <credit-card>
16
- </credit-card>
17
- </billing-info>
18
14
  <accept-language type="yaml" nil="true"></accept-language>
19
15
  </account>
20
16
 
21
17
  headers:
22
18
  authorization:
23
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
24
- user-agent:
25
- - Recurly Ruby Client v0.4.6
19
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
26
20
  content-type:
27
21
  - application/xml
28
22
  accept:
29
23
  - "*/*"
24
+ user-agent:
25
+ - Ruby
30
26
  connection:
31
27
  - close
32
28
  response: !ruby/struct:VCR::Response
@@ -37,26 +33,28 @@
37
33
  cache-control:
38
34
  - no-cache
39
35
  location:
40
- - http://app.recurly.local:3000/accounts/transaction-list-filled-1301883347
36
+ - http://litle-test.recurly.local:3000/accounts/transaction-list-filled-1296674173
41
37
  x-runtime:
42
- - "481"
38
+ - "754"
43
39
  content-type:
44
40
  - application/xml; charset=utf-8
45
41
  content-length:
46
42
  - "601"
47
43
  server:
48
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
44
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
49
45
  date:
50
- - Thu, 21 Apr 2011 18:05:20 GMT
46
+ - Thu, 03 Feb 2011 22:24:57 GMT
51
47
  connection:
52
48
  - close
53
49
  set-cookie:
54
- - _recurly_session=d989e3b5465023d61bb8e638acc9b4a2; domain=.recurly.local; path=/; HttpOnly
50
+ - account_credentials=719ab2b7ad0351e16154edfc3275ba45e4b96cca8aab76b7db32869ffa661d8bc64f24809d1fab7d8938c30e303ab8904e1f994918e461bc1349c683223ce382%3A%3A; domain=.recurly.local; path=/
51
+ - ""
52
+ - _recurly_session=8842de98b4a4d51f25561997602205b2; domain=.recurly.local; path=/; HttpOnly
55
53
  body: |
56
54
  <?xml version="1.0" encoding="UTF-8"?>
57
55
  <account>
58
- <id>transaction-list-filled-1301883347</id>
59
- <account_code>transaction-list-filled-1301883347</account_code>
56
+ <id>transaction-list-filled-1296674173</id>
57
+ <account_code>transaction-list-filled-1296674173</account_code>
60
58
  <username></username>
61
59
  <email>verena@test.com</email>
62
60
  <first_name>Verena</first_name>
@@ -64,8 +62,8 @@
64
62
  <company_name>Recurly Ruby Gem</company_name>
65
63
  <balance_in_cents type="integer">0</balance_in_cents>
66
64
  <closed type="boolean">false</closed>
67
- <hosted_login_token>7bfbbc8badba4ddb90c085acf68040bc</hosted_login_token>
68
- <created_at type="datetime">2011-04-21T18:05:20Z</created_at>
65
+ <hosted_login_token>f96839210c5d4a08a0360d0ed486ce06</hosted_login_token>
66
+ <created_at type="datetime">2011-02-03T22:24:57Z</created_at>
69
67
  <state>active</state>
70
68
  </account>
71
69
 
@@ -73,12 +71,10 @@
73
71
  - !ruby/struct:VCR::HTTPInteraction
74
72
  request: !ruby/struct:VCR::Request
75
73
  method: :put
76
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/transaction-list-filled-1301883347/billing_info.xml
74
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/transaction-list-filled-1296674173/billing_info.xml
77
75
  body: |
78
76
  <?xml version="1.0" encoding="UTF-8"?>
79
77
  <billing-info>
80
- <first-name>Verena</first-name>
81
- <last-name>Test</last-name>
82
78
  <address1>123 Test St</address1>
83
79
  <city>San Francisco</city>
84
80
  <state>CA</state>
@@ -87,21 +83,23 @@
87
83
  <credit-card>
88
84
  <number>4111111111111111</number>
89
85
  <year type="integer">2012</year>
90
- <month type="integer">4</month>
86
+ <month type="integer">2</month>
91
87
  <verification-value>123</verification-value>
92
88
  </credit-card>
93
- <account-code>transaction-list-filled-1301883347</account-code>
89
+ <account-code>transaction-list-filled-1296674173</account-code>
90
+ <first-name>Verena</first-name>
91
+ <last-name>Test</last-name>
94
92
  </billing-info>
95
93
 
96
94
  headers:
97
95
  authorization:
98
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
99
- user-agent:
100
- - Recurly Ruby Client v0.4.6
96
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
101
97
  content-type:
102
98
  - application/xml
103
99
  accept:
104
100
  - "*/*"
101
+ user-agent:
102
+ - Ruby
105
103
  connection:
106
104
  - close
107
105
  response: !ruby/struct:VCR::Response
@@ -110,27 +108,27 @@
110
108
  message: "OK "
111
109
  headers:
112
110
  x-runtime:
113
- - "1388"
111
+ - "1600"
114
112
  content-type:
115
113
  - application/xml; charset=utf-8
116
114
  etag:
117
- - "\"c8af950c791c20586448c935869dcb57\""
115
+ - "\"ffaf82e69307e1c2d4b1f3763f4a6098\""
118
116
  cache-control:
119
117
  - private, max-age=0, must-revalidate
120
118
  content-length:
121
119
  - "649"
122
120
  server:
123
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
121
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
124
122
  date:
125
- - Thu, 21 Apr 2011 18:05:23 GMT
123
+ - Thu, 03 Feb 2011 22:25:00 GMT
126
124
  connection:
127
125
  - close
128
126
  set-cookie:
129
- - _recurly_session=05c74d58e18fcc862eb0405833b7c76a; domain=.recurly.local; path=/; HttpOnly
127
+ - _recurly_session=142d6af51b0ab71c23ac320c950c6708; domain=.recurly.local; path=/; HttpOnly
130
128
  body: |
131
129
  <?xml version="1.0" encoding="UTF-8"?>
132
130
  <billing_info>
133
- <account_code>transaction-list-filled-1301883347</account_code>
131
+ <account_code>transaction-list-filled-1296674173</account_code>
134
132
  <first_name>Verena</first_name>
135
133
  <last_name>Test</last_name>
136
134
  <address1>123 Test St</address1>
@@ -145,26 +143,22 @@
145
143
  <credit_card>
146
144
  <type>visa</type>
147
145
  <last_four>1111</last_four>
148
- <month type="integer">4</month>
146
+ <month type="integer">2</month>
149
147
  <year type="integer">2012</year>
150
148
  </credit_card>
151
- <updated_at type="datetime">2011-04-21T18:05:23Z</updated_at>
149
+ <updated_at type="datetime">2011-02-03T22:25:00Z</updated_at>
152
150
  </billing_info>
153
151
 
154
152
  http_version: "1.1"
155
153
  - !ruby/struct:VCR::HTTPInteraction
156
154
  request: !ruby/struct:VCR::Request
157
155
  method: :post
158
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/transactions.xml
156
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
159
157
  body: |
160
158
  <?xml version="1.0" encoding="UTF-8"?>
161
159
  <transaction>
162
160
  <account>
163
- <account-code>transaction-list-filled-1301883347</account-code>
164
- <billing-info>
165
- <credit-card>
166
- </credit-card>
167
- </billing-info>
161
+ <account-code>transaction-list-filled-1296674173</account-code>
168
162
  </account>
169
163
  <amount-in-cents type="integer">100</amount-in-cents>
170
164
  <description>one</description>
@@ -172,13 +166,13 @@
172
166
 
173
167
  headers:
174
168
  authorization:
175
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
176
- user-agent:
177
- - Recurly Ruby Client v0.4.6
169
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
178
170
  content-type:
179
171
  - application/xml
180
172
  accept:
181
173
  - "*/*"
174
+ user-agent:
175
+ - Ruby
182
176
  connection:
183
177
  - close
184
178
  response: !ruby/struct:VCR::Response
@@ -189,28 +183,28 @@
189
183
  cache-control:
190
184
  - no-cache
191
185
  location:
192
- - http://app.recurly.local:3000/transactions/f7d843df128e4ec8b332043de3e27735
186
+ - http://litle-test.recurly.local:3000/transactions/5f140afee0be4a7683fad66f62a66e90
193
187
  x-runtime:
194
- - "2076"
188
+ - "4346"
195
189
  content-type:
196
190
  - application/xml; charset=utf-8
197
191
  content-length:
198
192
  - "864"
199
193
  server:
200
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
194
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
201
195
  date:
202
- - Thu, 21 Apr 2011 18:05:27 GMT
196
+ - Thu, 03 Feb 2011 22:25:07 GMT
203
197
  connection:
204
198
  - close
205
199
  set-cookie:
206
- - _recurly_session=cdc4aff42c5a5bd3299802ef574a0527; domain=.recurly.local; path=/; HttpOnly
200
+ - _recurly_session=c88f95bcc94387e037627fb39252f0ed; domain=.recurly.local; path=/; HttpOnly
207
201
  body: |
208
202
  <?xml version="1.0" encoding="UTF-8"?>
209
203
  <transaction type="Payment">
210
- <id>f7d843df128e4ec8b332043de3e27735</id>
211
- <account_code>transaction-list-filled-1301883347</account_code>
204
+ <id>5f140afee0be4a7683fad66f62a66e90</id>
205
+ <account_code>transaction-list-filled-1296674173</account_code>
212
206
  <action>purchase</action>
213
- <date type="datetime">2011-04-21T18:05:26Z</date>
207
+ <date type="datetime">2011-02-03T22:25:04Z</date>
214
208
  <amount_in_cents type="integer">100</amount_in_cents>
215
209
  <status>success</status>
216
210
  <message>Test Gateway: Successful test transaction</message>
@@ -232,16 +226,12 @@
232
226
  - !ruby/struct:VCR::HTTPInteraction
233
227
  request: !ruby/struct:VCR::Request
234
228
  method: :post
235
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/transactions.xml
229
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
236
230
  body: |
237
231
  <?xml version="1.0" encoding="UTF-8"?>
238
232
  <transaction>
239
233
  <account>
240
- <account-code>transaction-list-filled-1301883347</account-code>
241
- <billing-info>
242
- <credit-card>
243
- </credit-card>
244
- </billing-info>
234
+ <account-code>transaction-list-filled-1296674173</account-code>
245
235
  </account>
246
236
  <amount-in-cents type="integer">200</amount-in-cents>
247
237
  <description>two</description>
@@ -249,13 +239,13 @@
249
239
 
250
240
  headers:
251
241
  authorization:
252
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
253
- user-agent:
254
- - Recurly Ruby Client v0.4.6
242
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
255
243
  content-type:
256
244
  - application/xml
257
245
  accept:
258
246
  - "*/*"
247
+ user-agent:
248
+ - Ruby
259
249
  connection:
260
250
  - close
261
251
  response: !ruby/struct:VCR::Response
@@ -266,28 +256,28 @@
266
256
  cache-control:
267
257
  - no-cache
268
258
  location:
269
- - http://app.recurly.local:3000/transactions/2877d39b76134087b22f316a610e0a1c
259
+ - http://litle-test.recurly.local:3000/transactions/c6bcf3df5b964c4d8064c4db2ecca646
270
260
  x-runtime:
271
- - "2308"
261
+ - "4123"
272
262
  content-type:
273
263
  - application/xml; charset=utf-8
274
264
  content-length:
275
265
  - "864"
276
266
  server:
277
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
267
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
278
268
  date:
279
- - Thu, 21 Apr 2011 18:05:31 GMT
269
+ - Thu, 03 Feb 2011 22:25:13 GMT
280
270
  connection:
281
271
  - close
282
272
  set-cookie:
283
- - _recurly_session=bf8860d0fd2c96b1906dcd1302b04f57; domain=.recurly.local; path=/; HttpOnly
273
+ - _recurly_session=854dad49403654cdc5fdb6589e3236e6; domain=.recurly.local; path=/; HttpOnly
284
274
  body: |
285
275
  <?xml version="1.0" encoding="UTF-8"?>
286
276
  <transaction type="Payment">
287
- <id>2877d39b76134087b22f316a610e0a1c</id>
288
- <account_code>transaction-list-filled-1301883347</account_code>
277
+ <id>c6bcf3df5b964c4d8064c4db2ecca646</id>
278
+ <account_code>transaction-list-filled-1296674173</account_code>
289
279
  <action>purchase</action>
290
- <date type="datetime">2011-04-21T18:05:30Z</date>
280
+ <date type="datetime">2011-02-03T22:25:10Z</date>
291
281
  <amount_in_cents type="integer">200</amount_in_cents>
292
282
  <status>success</status>
293
283
  <message>Test Gateway: Successful test transaction</message>
@@ -309,16 +299,12 @@
309
299
  - !ruby/struct:VCR::HTTPInteraction
310
300
  request: !ruby/struct:VCR::Request
311
301
  method: :post
312
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/transactions.xml
302
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/transactions.xml
313
303
  body: |
314
304
  <?xml version="1.0" encoding="UTF-8"?>
315
305
  <transaction>
316
306
  <account>
317
- <account-code>transaction-list-filled-1301883347</account-code>
318
- <billing-info>
319
- <credit-card>
320
- </credit-card>
321
- </billing-info>
307
+ <account-code>transaction-list-filled-1296674173</account-code>
322
308
  </account>
323
309
  <amount-in-cents type="integer">300</amount-in-cents>
324
310
  <description>three</description>
@@ -326,13 +312,13 @@
326
312
 
327
313
  headers:
328
314
  authorization:
329
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
330
- user-agent:
331
- - Recurly Ruby Client v0.4.6
315
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
332
316
  content-type:
333
317
  - application/xml
334
318
  accept:
335
319
  - "*/*"
320
+ user-agent:
321
+ - Ruby
336
322
  connection:
337
323
  - close
338
324
  response: !ruby/struct:VCR::Response
@@ -343,28 +329,28 @@
343
329
  cache-control:
344
330
  - no-cache
345
331
  location:
346
- - http://app.recurly.local:3000/transactions/0588c64d462f4fb5a157f149879c26cc
332
+ - http://litle-test.recurly.local:3000/transactions/604b118b846043959624554b4170c230
347
333
  x-runtime:
348
- - "1995"
334
+ - "4250"
349
335
  content-type:
350
336
  - application/xml; charset=utf-8
351
337
  content-length:
352
338
  - "864"
353
339
  server:
354
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
340
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
355
341
  date:
356
- - Thu, 21 Apr 2011 18:05:35 GMT
342
+ - Thu, 03 Feb 2011 22:25:19 GMT
357
343
  connection:
358
344
  - close
359
345
  set-cookie:
360
- - _recurly_session=90ffbac4cb4d4b68a4e00403f092ce93; domain=.recurly.local; path=/; HttpOnly
346
+ - _recurly_session=689682746bfa0091922f707502427533; domain=.recurly.local; path=/; HttpOnly
361
347
  body: |
362
348
  <?xml version="1.0" encoding="UTF-8"?>
363
349
  <transaction type="Payment">
364
- <id>0588c64d462f4fb5a157f149879c26cc</id>
365
- <account_code>transaction-list-filled-1301883347</account_code>
350
+ <id>604b118b846043959624554b4170c230</id>
351
+ <account_code>transaction-list-filled-1296674173</account_code>
366
352
  <action>purchase</action>
367
- <date type="datetime">2011-04-21T18:05:34Z</date>
353
+ <date type="datetime">2011-02-03T22:25:16Z</date>
368
354
  <amount_in_cents type="integer">300</amount_in_cents>
369
355
  <status>success</status>
370
356
  <message>Test Gateway: Successful test transaction</message>
@@ -386,133 +372,17 @@
386
372
  - !ruby/struct:VCR::HTTPInteraction
387
373
  request: !ruby/struct:VCR::Request
388
374
  method: :get
389
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/transaction-list-filled-1301883347/transactions
375
+ uri: http://isaac%40recurly.com:isaac1024@litle-test.recurly.local:3000/accounts/transaction-list-filled-1296674173/transactions
390
376
  body:
391
377
  headers:
392
378
  authorization:
393
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
394
- user-agent:
395
- - Recurly Ruby Client v0.4.6
379
+ - Basic aXNhYWNAcmVjdXJseS5jb206aXNhYWMxMDI0
396
380
  accept:
397
381
  - application/xml
398
382
  accept-encoding:
399
383
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
400
- connection:
401
- - close
402
- response: !ruby/struct:VCR::Response
403
- status: !ruby/struct:VCR::ResponseStatus
404
- code: 200
405
- message: "OK "
406
- headers:
407
- x-runtime:
408
- - "340"
409
- content-type:
410
- - application/xml; charset=utf-8
411
- etag:
412
- - "\"80d4a3a0d39367f32ceada3d924feca6\""
413
- cache-control:
414
- - private, max-age=0, must-revalidate
415
- content-length:
416
- - "3319"
417
- server:
418
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
419
- date:
420
- - Thu, 21 Apr 2011 18:05:37 GMT
421
- connection:
422
- - close
423
- set-cookie:
424
- - _recurly_session=d96eca50f2a359840a8abb24472f24db; domain=.recurly.local; path=/; HttpOnly
425
- body: |
426
- <?xml version="1.0" encoding="UTF-8"?>
427
- <transactions type="collection">
428
- <current_page type="integer">1</current_page>
429
- <per_page type="integer">50</per_page>
430
- <total_entries type="integer">4</total_entries>
431
- <transaction type="Payment">
432
- <id>0588c64d462f4fb5a157f149879c26cc</id>
433
- <account_code>transaction-list-filled-1301883347</account_code>
434
- <action>purchase</action>
435
- <date type="datetime">2011-04-21T18:05:34Z</date>
436
- <amount_in_cents type="integer">300</amount_in_cents>
437
- <status>success</status>
438
- <message>Test Gateway: Successful test transaction</message>
439
- <reference>12345</reference>
440
- <cvv_result code="M">Match</cvv_result>
441
- <avs_result code="D">Street address and postal code match.</avs_result>
442
- <avs_result_street>Y</avs_result_street>
443
- <avs_result_postal>Y</avs_result_postal>
444
- <test type="boolean">true</test>
445
- <voidable type="boolean">true</voidable>
446
- <refundable type="boolean">true</refundable>
447
- </transaction>
448
- <transaction type="Payment">
449
- <id>2877d39b76134087b22f316a610e0a1c</id>
450
- <account_code>transaction-list-filled-1301883347</account_code>
451
- <action>purchase</action>
452
- <date type="datetime">2011-04-21T18:05:30Z</date>
453
- <amount_in_cents type="integer">200</amount_in_cents>
454
- <status>success</status>
455
- <message>Test Gateway: Successful test transaction</message>
456
- <reference>12345</reference>
457
- <cvv_result code="M">Match</cvv_result>
458
- <avs_result code="D">Street address and postal code match.</avs_result>
459
- <avs_result_street>Y</avs_result_street>
460
- <avs_result_postal>Y</avs_result_postal>
461
- <test type="boolean">true</test>
462
- <voidable type="boolean">true</voidable>
463
- <refundable type="boolean">true</refundable>
464
- </transaction>
465
- <transaction type="Payment">
466
- <id>f7d843df128e4ec8b332043de3e27735</id>
467
- <account_code>transaction-list-filled-1301883347</account_code>
468
- <action>purchase</action>
469
- <date type="datetime">2011-04-21T18:05:26Z</date>
470
- <amount_in_cents type="integer">100</amount_in_cents>
471
- <status>success</status>
472
- <message>Test Gateway: Successful test transaction</message>
473
- <reference>12345</reference>
474
- <cvv_result code="M">Match</cvv_result>
475
- <avs_result code="D">Street address and postal code match.</avs_result>
476
- <avs_result_street>Y</avs_result_street>
477
- <avs_result_postal>Y</avs_result_postal>
478
- <test type="boolean">true</test>
479
- <voidable type="boolean">true</voidable>
480
- <refundable type="boolean">true</refundable>
481
- </transaction>
482
- <transaction type="Payment">
483
- <id>2c9ce5a8b95d49ce900eb4207bd32fd4</id>
484
- <account_code>transaction-list-filled-1301883347</account_code>
485
- <action>authorization</action>
486
- <date type="datetime">2011-04-21T18:05:23Z</date>
487
- <amount_in_cents type="integer">0</amount_in_cents>
488
- <status>success</status>
489
- <message>Test Gateway: Successful test transaction</message>
490
- <reference>12345</reference>
491
- <cvv_result code="M">Match</cvv_result>
492
- <avs_result code="D">Street address and postal code match.</avs_result>
493
- <avs_result_street>Y</avs_result_street>
494
- <avs_result_postal>Y</avs_result_postal>
495
- <test type="boolean">true</test>
496
- <voidable type="boolean">false</voidable>
497
- <refundable type="boolean">true</refundable>
498
- </transaction>
499
- </transactions>
500
-
501
- http_version: "1.1"
502
- - !ruby/struct:VCR::HTTPInteraction
503
- request: !ruby/struct:VCR::Request
504
- method: :get
505
- uri: http://api-test%40facebook.com:c012090130704e748dae49f56f05f68f@app.recurly.local:3000/accounts/transaction-list-filled-1301883347/transactions
506
- body:
507
- headers:
508
- authorization:
509
- - Basic YXBpLXRlc3RAZmFjZWJvb2suY29tOmMwMTIwOTAxMzA3MDRlNzQ4ZGFlNDlmNTZmMDVmNjhm
510
384
  user-agent:
511
- - Recurly Ruby Client v0.4.6
512
- accept:
513
- - application/xml
514
- accept-encoding:
515
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
385
+ - Ruby
516
386
  connection:
517
387
  - close
518
388
  response: !ruby/struct:VCR::Response
@@ -521,23 +391,23 @@
521
391
  message: "OK "
522
392
  headers:
523
393
  x-runtime:
524
- - "470"
394
+ - "477"
525
395
  content-type:
526
396
  - application/xml; charset=utf-8
527
397
  etag:
528
- - "\"80d4a3a0d39367f32ceada3d924feca6\""
398
+ - "\"2f07f739e648db2897a93e2045ac85e5\""
529
399
  cache-control:
530
400
  - private, max-age=0, must-revalidate
531
401
  content-length:
532
402
  - "3319"
533
403
  server:
534
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18)
404
+ - WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18)
535
405
  date:
536
- - Thu, 21 Apr 2011 18:05:39 GMT
406
+ - Thu, 03 Feb 2011 22:25:21 GMT
537
407
  connection:
538
408
  - close
539
409
  set-cookie:
540
- - _recurly_session=ee0fbaa79ce1c06456e7f95993c29e2f; domain=.recurly.local; path=/; HttpOnly
410
+ - _recurly_session=d0e55857aadf149be7300f6f9481958b; domain=.recurly.local; path=/; HttpOnly
541
411
  body: |
542
412
  <?xml version="1.0" encoding="UTF-8"?>
543
413
  <transactions type="collection">
@@ -545,10 +415,10 @@
545
415
  <per_page type="integer">50</per_page>
546
416
  <total_entries type="integer">4</total_entries>
547
417
  <transaction type="Payment">
548
- <id>0588c64d462f4fb5a157f149879c26cc</id>
549
- <account_code>transaction-list-filled-1301883347</account_code>
418
+ <id>604b118b846043959624554b4170c230</id>
419
+ <account_code>transaction-list-filled-1296674173</account_code>
550
420
  <action>purchase</action>
551
- <date type="datetime">2011-04-21T18:05:34Z</date>
421
+ <date type="datetime">2011-02-03T22:25:16Z</date>
552
422
  <amount_in_cents type="integer">300</amount_in_cents>
553
423
  <status>success</status>
554
424
  <message>Test Gateway: Successful test transaction</message>
@@ -562,10 +432,10 @@
562
432
  <refundable type="boolean">true</refundable>
563
433
  </transaction>
564
434
  <transaction type="Payment">
565
- <id>2877d39b76134087b22f316a610e0a1c</id>
566
- <account_code>transaction-list-filled-1301883347</account_code>
435
+ <id>c6bcf3df5b964c4d8064c4db2ecca646</id>
436
+ <account_code>transaction-list-filled-1296674173</account_code>
567
437
  <action>purchase</action>
568
- <date type="datetime">2011-04-21T18:05:30Z</date>
438
+ <date type="datetime">2011-02-03T22:25:10Z</date>
569
439
  <amount_in_cents type="integer">200</amount_in_cents>
570
440
  <status>success</status>
571
441
  <message>Test Gateway: Successful test transaction</message>
@@ -579,10 +449,10 @@
579
449
  <refundable type="boolean">true</refundable>
580
450
  </transaction>
581
451
  <transaction type="Payment">
582
- <id>f7d843df128e4ec8b332043de3e27735</id>
583
- <account_code>transaction-list-filled-1301883347</account_code>
452
+ <id>5f140afee0be4a7683fad66f62a66e90</id>
453
+ <account_code>transaction-list-filled-1296674173</account_code>
584
454
  <action>purchase</action>
585
- <date type="datetime">2011-04-21T18:05:26Z</date>
455
+ <date type="datetime">2011-02-03T22:25:04Z</date>
586
456
  <amount_in_cents type="integer">100</amount_in_cents>
587
457
  <status>success</status>
588
458
  <message>Test Gateway: Successful test transaction</message>
@@ -596,10 +466,10 @@
596
466
  <refundable type="boolean">true</refundable>
597
467
  </transaction>
598
468
  <transaction type="Payment">
599
- <id>2c9ce5a8b95d49ce900eb4207bd32fd4</id>
600
- <account_code>transaction-list-filled-1301883347</account_code>
469
+ <id>79bc4459b136460197dd1c1381f017af</id>
470
+ <account_code>transaction-list-filled-1296674173</account_code>
601
471
  <action>authorization</action>
602
- <date type="datetime">2011-04-21T18:05:23Z</date>
472
+ <date type="datetime">2011-02-03T22:25:00Z</date>
603
473
  <amount_in_cents type="integer">0</amount_in_cents>
604
474
  <status>success</status>
605
475
  <message>Test Gateway: Successful test transaction</message>