recurly 0.4.0 → 0.4.1
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/lib/patches/rails2/active_resource/connection.rb +10 -0
- data/lib/patches/{active_resource → rails3/active_resource}/connection.rb +0 -0
- data/lib/recurly.rb +7 -2
- data/lib/recurly/transparent.rb +4 -1
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/transaction_spec.rb +5 -2
- data/spec/unit/transparent_spec.rb +59 -1
- data/spec/vcr/account/accept-language-account/1297746103.yml +8 -11
- data/spec/vcr/account/close/1297746103.yml +23 -30
- data/spec/vcr/account/create-blank/1297746103.yml +5 -7
- data/spec/vcr/account/create-duplicate/1297746103.yml +13 -18
- data/spec/vcr/account/create-min/1297746103.yml +8 -11
- data/spec/vcr/account/create/1297746103.yml +8 -11
- data/spec/vcr/account/find/1297746103.yml +22 -29
- data/spec/vcr/account/list/1297746103.yml +150 -196
- data/spec/vcr/account/update/1297746103.yml +37 -46
- data/spec/vcr/billing/create/1298594128.yml +24 -31
- data/spec/vcr/billing/destroy/1298594128.yml +35 -46
- data/spec/vcr/billing/find/1298594128.yml +32 -41
- data/spec/vcr/billing/update/1298594128.yml +32 -41
- data/spec/vcr/charge/create/1297746103.yml +36 -45
- data/spec/vcr/charge/delete-uninvoiced/1297746103.yml +46 -59
- data/spec/vcr/charge/list-all/1297746103.yml +51 -62
- data/spec/vcr/charge/list-invoiced/1297746103.yml +82 -97
- data/spec/vcr/charge/list-pending/1297746103.yml +51 -62
- data/spec/vcr/charge/lookup/1297746103.yml +28 -35
- data/spec/vcr/coupon/create/1299714521.yml +23 -30
- data/spec/vcr/coupon/destroy/1299714521.yml +26 -35
- data/spec/vcr/credit/create/1299714599.yml +28 -35
- data/spec/vcr/credit/delete/1299714599.yml +41 -52
- data/spec/vcr/credit/list/1299714599.yml +51 -62
- data/spec/vcr/credit/lookup/1299714599.yml +28 -35
- data/spec/vcr/invoice/create-no-charges/1297746103.yml +21 -28
- data/spec/vcr/invoice/create/1297746103.yml +50 -61
- data/spec/vcr/invoice/list/1297746103.yml +73 -88
- data/spec/vcr/invoice/lookup/1297746103.yml +52 -63
- data/spec/vcr/plan/all.yml +18 -24
- data/spec/vcr/plan/find.yml +18 -24
- data/spec/vcr/plan/update.yml +18 -24
- data/spec/vcr/subscription/addons/add/1297746103.yml +331 -38
- data/spec/vcr/subscription/addons/create/1297746103.yml +331 -38
- data/spec/vcr/subscription/addons/remove/1297746103.yml +331 -38
- data/spec/vcr/subscription/cancel-with-code/1297746103.yml +71 -86
- data/spec/vcr/subscription/cancel/1297746103.yml +59 -72
- data/spec/vcr/subscription/change1/1297746103.yml +55 -68
- data/spec/vcr/subscription/change2/1297746103.yml +55 -68
- data/spec/vcr/subscription/create/1297746103.yml +25 -32
- data/spec/vcr/subscription/find/1297746103.yml +35 -44
- data/spec/vcr/subscription/reactivate/1297746103.yml +64 -79
- data/spec/vcr/subscription/refund-full/1297746103.yml +52 -65
- data/spec/vcr/subscription/refund-none/1297746103.yml +52 -65
- data/spec/vcr/subscription/refund-partial/1297746103.yml +52 -65
- data/spec/vcr/transaction/all/1300473500.yml +387 -0
- data/spec/vcr/transaction/create-no-account/{1297746103.yml → 1300473500.yml} +19 -22
- data/spec/vcr/transaction/create-with-account/{1297746103.yml → 1300473500.yml} +55 -43
- data/spec/vcr/transaction/list-filled/1300473500.yml +603 -0
- data/spec/vcr/transaction/list-initial/{1297746103.yml → 1300473500.yml} +45 -52
- data/spec/vcr/transaction/lookup/1300473500.yml +561 -0
- data/spec/vcr/transaction/refund/{1297746103.yml → 1300473500.yml} +113 -41
- data/spec/vcr/transaction/void/1300473500.yml +620 -0
- metadata +21 -20
- data/spec/vcr/transaction/all/1297746103.yml +0 -389
- data/spec/vcr/transaction/list-filled/1297746103.yml +0 -213
- data/spec/vcr/transaction/lookup/1297746103.yml +0 -213
- data/spec/vcr/transaction/void/1297746103.yml +0 -213
File without changes
|
data/lib/recurly.rb
CHANGED
@@ -4,7 +4,12 @@ require 'cgi'
|
|
4
4
|
require 'openssl'
|
5
5
|
require 'addressable/uri'
|
6
6
|
|
7
|
-
|
7
|
+
# load ActiveResource patches
|
8
|
+
if defined?(::Rails::VERSION::MAJOR) and ::Rails::VERSION::MAJOR == 3
|
9
|
+
require 'patches/rails3/active_resource/connection'
|
10
|
+
elsif defined?(::Rails::VERSION::MAJOR) and ::Rails::VERSION::MAJOR == 2
|
11
|
+
require 'patches/rails2/active_resource/connection'
|
12
|
+
end
|
8
13
|
|
9
14
|
require 'recurly/version'
|
10
15
|
require 'recurly/exceptions'
|
@@ -128,4 +133,4 @@ module Recurly
|
|
128
133
|
Thread.current[:recurly_accept_language] = accept_language
|
129
134
|
end
|
130
135
|
end
|
131
|
-
end
|
136
|
+
end
|
data/lib/recurly/transparent.rb
CHANGED
@@ -129,6 +129,8 @@ module Recurly
|
|
129
129
|
data.each do |key, val|
|
130
130
|
if val.is_a?(Hash)
|
131
131
|
data[key] = process_data(val)
|
132
|
+
elsif val.is_a?(String)
|
133
|
+
data[key] = val.to_s
|
132
134
|
elsif val.is_a?(Enumerable)
|
133
135
|
data[key] = val.map{|i| i.to_s}
|
134
136
|
else
|
@@ -137,4 +139,5 @@ module Recurly
|
|
137
139
|
end
|
138
140
|
end
|
139
141
|
end
|
140
|
-
end
|
142
|
+
end
|
143
|
+
|
data/lib/recurly/version.rb
CHANGED
@@ -65,7 +65,8 @@ module Recurly
|
|
65
65
|
end
|
66
66
|
|
67
67
|
it "should be in void state" do
|
68
|
-
@transactions.first.amount_in_cents.should ==
|
68
|
+
@transactions.first.amount_in_cents.should == 100
|
69
|
+
@transactions.first.status.should == 'void'
|
69
70
|
end
|
70
71
|
end
|
71
72
|
|
@@ -79,10 +80,12 @@ module Recurly
|
|
79
80
|
Factory.create_transaction account.account_code, :amount_in_cents => 300, :description => "three"
|
80
81
|
|
81
82
|
@successful_transactions = Transaction.list_for_account(account.account_code, :success)
|
83
|
+
@total_transactions = Transaction.list_for_account(account.account_code)
|
82
84
|
end
|
83
85
|
|
84
86
|
it "should return a list of transactions made on the account" do
|
85
|
-
@successful_transactions.length.should ==
|
87
|
+
@successful_transactions.length.should == 3
|
88
|
+
@total_transactions.length.should == 4
|
86
89
|
end
|
87
90
|
|
88
91
|
it "should also be available via Account#transactions" do
|
@@ -16,14 +16,37 @@ module Recurly
|
|
16
16
|
Transparent.url(Action::UpdateBilling).should == "#{Recurly::Base.site}/transparent/#{Recurly.subdomain}/billing_info"
|
17
17
|
Transparent.url(Action::CreateTransaction).should == "#{Recurly::Base.site}/transparent/#{Recurly.subdomain}/transaction"
|
18
18
|
end
|
19
|
+
|
20
|
+
it "should equal api-sandbox for sandbox" do
|
21
|
+
Recurly.configure do |config|
|
22
|
+
config.environment = :sandbox
|
23
|
+
config.subdomain = 'testtest'
|
24
|
+
end
|
25
|
+
Transparent.url(Action::CreateSubscription).should == "https://api-sandbox.recurly.com/transparent/testtest/subscription"
|
26
|
+
Transparent.url(Action::UpdateBilling).should == "https://api-sandbox.recurly.com/transparent/testtest/billing_info"
|
27
|
+
Transparent.url(Action::CreateTransaction).should == "https://api-sandbox.recurly.com/transparent/testtest/transaction"
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should equal api-production for sandbox" do
|
31
|
+
Recurly.configure do |config|
|
32
|
+
config.environment = :production
|
33
|
+
config.subdomain = 'testtest'
|
34
|
+
end
|
35
|
+
Transparent.url(Action::CreateSubscription).should == "https://api-production.recurly.com/transparent/testtest/subscription"
|
36
|
+
Transparent.url(Action::UpdateBilling).should == "https://api-production.recurly.com/transparent/testtest/billing_info"
|
37
|
+
Transparent.url(Action::CreateTransaction).should == "https://api-production.recurly.com/transparent/testtest/transaction"
|
38
|
+
end
|
19
39
|
end
|
20
40
|
|
21
41
|
describe ".encrypt_string" do
|
22
42
|
it "should encrypt the data using the configured private key" do
|
43
|
+
Recurly.configure do |config|
|
44
|
+
config.private_key = '986bfa2bec61479ca560dbaaec345820'
|
45
|
+
end
|
23
46
|
result = Transparent.encrypt_string("d00d")
|
24
47
|
|
25
48
|
# hashed manually
|
26
|
-
result.should == "
|
49
|
+
result.should == "790a4038fb9047889a767baadf8edc3e07b6e66b"
|
27
50
|
|
28
51
|
result2 = Transparent.encrypt_string("d00d2")
|
29
52
|
result2.should_not eq(result)
|
@@ -110,5 +133,40 @@ module Recurly
|
|
110
133
|
end
|
111
134
|
end
|
112
135
|
|
136
|
+
describe "#hidden_field" do
|
137
|
+
it "should return a string of a HTML hidden input element" do
|
138
|
+
|
139
|
+
transparent = Transparent.new({
|
140
|
+
:redirect_url => "http://example.com/",
|
141
|
+
:account => { :account_code => 'howdy' },
|
142
|
+
:value => "hello"
|
143
|
+
})
|
144
|
+
|
145
|
+
transparent.hidden_field.class.should eq(String)
|
146
|
+
end
|
147
|
+
|
148
|
+
it "should return a string of a HTML hidden input element" do
|
149
|
+
transparent = Transparent.new({
|
150
|
+
:redirect_url => "http://example.com/",
|
151
|
+
:account => { :account_code => '123' },
|
152
|
+
:amount => 10
|
153
|
+
})
|
154
|
+
|
155
|
+
transparent.hidden_field.class.should eq(String)
|
156
|
+
end
|
157
|
+
|
158
|
+
it "should return a string of a HTML hidden input element" do
|
159
|
+
transparent = Transparent.new({
|
160
|
+
:redirect_url => "http://example.com/",
|
161
|
+
:account => { :account_code => '123' },
|
162
|
+
:transaction => {
|
163
|
+
:amount => 10
|
164
|
+
}
|
165
|
+
})
|
166
|
+
|
167
|
+
transparent.hidden_field.class.should eq(String)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
113
171
|
end
|
114
172
|
end
|
@@ -32,27 +32,24 @@
|
|
32
32
|
response: !ruby/struct:VCR::Response
|
33
33
|
status: !ruby/struct:VCR::ResponseStatus
|
34
34
|
code: 201
|
35
|
-
message:
|
35
|
+
message: Created
|
36
36
|
headers:
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/account1-french-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "433"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "585"
|
47
|
-
|
48
|
-
-
|
49
|
-
date:
|
50
|
-
- Fri, 11 Mar 2011 18:47:28 GMT
|
47
|
+
set-cookie:
|
48
|
+
- _recurly_session=2646fb7dc231fbc50507e35872ded86d; domain=.recurly.local; path=/; HttpOnly
|
51
49
|
connection:
|
52
50
|
- close
|
53
|
-
|
54
|
-
-
|
55
|
-
- _recurly_session=b8385e736e2e0c446b6b99f1e68c415d; domain=.recurly.local; path=/; HttpOnly
|
51
|
+
server:
|
52
|
+
- thin 1.2.7 codename No Hup
|
56
53
|
body: |
|
57
54
|
<?xml version="1.0" encoding="UTF-8"?>
|
58
55
|
<account>
|
@@ -65,8 +62,8 @@
|
|
65
62
|
<company_name>Recurly Ruby Gem</company_name>
|
66
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
67
64
|
<closed type="boolean">false</closed>
|
68
|
-
<hosted_login_token>
|
69
|
-
<created_at type="datetime">2011-03-
|
65
|
+
<hosted_login_token>e38a18fa5fd94ef4a2df36503bc62111</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-03-18T18:47:35Z</created_at>
|
70
67
|
<state>active</state>
|
71
68
|
</account>
|
72
69
|
|
@@ -32,27 +32,24 @@
|
|
32
32
|
response: !ruby/struct:VCR::Response
|
33
33
|
status: !ruby/struct:VCR::ResponseStatus
|
34
34
|
code: 201
|
35
|
-
message:
|
35
|
+
message: Created
|
36
36
|
headers:
|
37
37
|
cache-control:
|
38
38
|
- no-cache
|
39
39
|
location:
|
40
40
|
- http://app.recurly.local:3000/accounts/account-close-1297746103
|
41
41
|
x-runtime:
|
42
|
-
- "
|
42
|
+
- "347"
|
43
43
|
content-type:
|
44
44
|
- application/xml; charset=utf-8
|
45
45
|
content-length:
|
46
46
|
- "581"
|
47
|
-
|
48
|
-
-
|
49
|
-
date:
|
50
|
-
- Fri, 11 Mar 2011 18:47:16 GMT
|
47
|
+
set-cookie:
|
48
|
+
- _recurly_session=feaecccc5b88d662541ee1e1c65c0b66; domain=.recurly.local; path=/; HttpOnly
|
51
49
|
connection:
|
52
50
|
- close
|
53
|
-
|
54
|
-
-
|
55
|
-
- _recurly_session=017dc9de9ee713b550c96ec1e1d36355; domain=.recurly.local; path=/; HttpOnly
|
51
|
+
server:
|
52
|
+
- thin 1.2.7 codename No Hup
|
56
53
|
body: |
|
57
54
|
<?xml version="1.0" encoding="UTF-8"?>
|
58
55
|
<account>
|
@@ -65,8 +62,8 @@
|
|
65
62
|
<company_name>Recurly Ruby Gem</company_name>
|
66
63
|
<balance_in_cents type="integer">0</balance_in_cents>
|
67
64
|
<closed type="boolean">false</closed>
|
68
|
-
<hosted_login_token>
|
69
|
-
<created_at type="datetime">2011-03-
|
65
|
+
<hosted_login_token>1c795d69f9e5437883fd99cc5a915d19</hosted_login_token>
|
66
|
+
<created_at type="datetime">2011-03-18T18:47:23Z</created_at>
|
70
67
|
<state>active</state>
|
71
68
|
</account>
|
72
69
|
|
@@ -88,24 +85,22 @@
|
|
88
85
|
response: !ruby/struct:VCR::Response
|
89
86
|
status: !ruby/struct:VCR::ResponseStatus
|
90
87
|
code: 200
|
91
|
-
message:
|
88
|
+
message: OK
|
92
89
|
headers:
|
93
90
|
cache-control:
|
94
91
|
- no-cache
|
95
92
|
x-runtime:
|
96
|
-
- "
|
93
|
+
- "481"
|
97
94
|
content-type:
|
98
95
|
- application/xml; charset=utf-8
|
99
96
|
content-length:
|
100
97
|
- "1"
|
101
|
-
|
102
|
-
-
|
103
|
-
date:
|
104
|
-
- Fri, 11 Mar 2011 18:47:18 GMT
|
98
|
+
set-cookie:
|
99
|
+
- _recurly_session=217d1e05f1a8ea27ddfd1f6dc856d77b; domain=.recurly.local; path=/; HttpOnly
|
105
100
|
connection:
|
106
101
|
- close
|
107
|
-
|
108
|
-
-
|
102
|
+
server:
|
103
|
+
- thin 1.2.7 codename No Hup
|
109
104
|
body: " "
|
110
105
|
http_version: "1.1"
|
111
106
|
- !ruby/struct:VCR::HTTPInteraction
|
@@ -127,26 +122,24 @@
|
|
127
122
|
response: !ruby/struct:VCR::Response
|
128
123
|
status: !ruby/struct:VCR::ResponseStatus
|
129
124
|
code: 200
|
130
|
-
message:
|
125
|
+
message: OK
|
131
126
|
headers:
|
132
127
|
x-runtime:
|
133
|
-
- "
|
128
|
+
- "293"
|
134
129
|
content-type:
|
135
130
|
- application/xml; charset=utf-8
|
136
131
|
etag:
|
137
|
-
- "\"
|
132
|
+
- "\"2a99494260c548f181eba47d258df6c2\""
|
138
133
|
cache-control:
|
139
134
|
- private, max-age=0, must-revalidate
|
140
135
|
content-length:
|
141
136
|
- "580"
|
142
|
-
|
143
|
-
-
|
144
|
-
date:
|
145
|
-
- Fri, 11 Mar 2011 18:47:20 GMT
|
137
|
+
set-cookie:
|
138
|
+
- _recurly_session=d093e4e66b3ca4d1dde043580ada11c2; domain=.recurly.local; path=/; HttpOnly
|
146
139
|
connection:
|
147
140
|
- close
|
148
|
-
|
149
|
-
-
|
141
|
+
server:
|
142
|
+
- thin 1.2.7 codename No Hup
|
150
143
|
body: |
|
151
144
|
<?xml version="1.0" encoding="UTF-8"?>
|
152
145
|
<account>
|
@@ -159,8 +152,8 @@
|
|
159
152
|
<company_name>Recurly Ruby Gem</company_name>
|
160
153
|
<balance_in_cents type="integer">0</balance_in_cents>
|
161
154
|
<closed type="boolean">true</closed>
|
162
|
-
<hosted_login_token>
|
163
|
-
<created_at type="datetime">2011-03-
|
155
|
+
<hosted_login_token>1c795d69f9e5437883fd99cc5a915d19</hosted_login_token>
|
156
|
+
<created_at type="datetime">2011-03-18T18:47:23Z</created_at>
|
164
157
|
<state>closed</state>
|
165
158
|
</account>
|
166
159
|
|
@@ -33,19 +33,17 @@
|
|
33
33
|
cache-control:
|
34
34
|
- no-cache
|
35
35
|
x-runtime:
|
36
|
-
- "
|
36
|
+
- "371"
|
37
37
|
content-type:
|
38
38
|
- application/xml; charset=utf-8
|
39
39
|
content-length:
|
40
40
|
- "186"
|
41
|
-
|
42
|
-
-
|
43
|
-
date:
|
44
|
-
- Fri, 11 Mar 2011 18:47:22 GMT
|
41
|
+
set-cookie:
|
42
|
+
- _recurly_session=bd077a070421d681c7485e8eef00715d; domain=.recurly.local; path=/; HttpOnly
|
45
43
|
connection:
|
46
44
|
- close
|
47
|
-
|
48
|
-
-
|
45
|
+
server:
|
46
|
+
- thin 1.2.7 codename No Hup
|
49
47
|
body: |
|
50
48
|
<?xml version="1.0" encoding="UTF-8"?>
|
51
49
|
<errors>
|
@@ -28,27 +28,24 @@
|
|
28
28
|
response: !ruby/struct:VCR::Response
|
29
29
|
status: !ruby/struct:VCR::ResponseStatus
|
30
30
|
code: 201
|
31
|
-
message:
|
31
|
+
message: Created
|
32
32
|
headers:
|
33
33
|
cache-control:
|
34
34
|
- no-cache
|
35
35
|
location:
|
36
36
|
- http://app.recurly.local:3000/accounts/account-exists
|
37
37
|
x-runtime:
|
38
|
-
- "
|
38
|
+
- "384"
|
39
39
|
content-type:
|
40
40
|
- application/xml; charset=utf-8
|
41
41
|
content-length:
|
42
42
|
- "520"
|
43
|
-
|
44
|
-
-
|
45
|
-
date:
|
46
|
-
- Fri, 11 Mar 2011 18:47:24 GMT
|
43
|
+
set-cookie:
|
44
|
+
- _recurly_session=23879cef56d0b271a81ec227a113a1a0; domain=.recurly.local; path=/; HttpOnly
|
47
45
|
connection:
|
48
46
|
- close
|
49
|
-
|
50
|
-
-
|
51
|
-
- _recurly_session=4bfcbd106c4f8f9a8722123aaeee014d; domain=.recurly.local; path=/; HttpOnly
|
47
|
+
server:
|
48
|
+
- thin 1.2.7 codename No Hup
|
52
49
|
body: |
|
53
50
|
<?xml version="1.0" encoding="UTF-8"?>
|
54
51
|
<account>
|
@@ -61,8 +58,8 @@
|
|
61
58
|
<company_name></company_name>
|
62
59
|
<balance_in_cents type="integer">0</balance_in_cents>
|
63
60
|
<closed type="boolean">false</closed>
|
64
|
-
<hosted_login_token>
|
65
|
-
<created_at type="datetime">2011-03-
|
61
|
+
<hosted_login_token>23bcf23b07e24395a3555ce974c14dda</hosted_login_token>
|
62
|
+
<created_at type="datetime">2011-03-18T18:47:31Z</created_at>
|
66
63
|
<state>active</state>
|
67
64
|
</account>
|
68
65
|
|
@@ -101,19 +98,17 @@
|
|
101
98
|
cache-control:
|
102
99
|
- no-cache
|
103
100
|
x-runtime:
|
104
|
-
- "
|
101
|
+
- "316"
|
105
102
|
content-type:
|
106
103
|
- application/xml; charset=utf-8
|
107
104
|
content-length:
|
108
105
|
- "132"
|
109
|
-
|
110
|
-
-
|
111
|
-
date:
|
112
|
-
- Fri, 11 Mar 2011 18:47:26 GMT
|
106
|
+
set-cookie:
|
107
|
+
- _recurly_session=9c5a5f7417e1b30d65a610ec081797ff; domain=.recurly.local; path=/; HttpOnly
|
113
108
|
connection:
|
114
109
|
- close
|
115
|
-
|
116
|
-
-
|
110
|
+
server:
|
111
|
+
- thin 1.2.7 codename No Hup
|
117
112
|
body: |
|
118
113
|
<?xml version="1.0" encoding="UTF-8"?>
|
119
114
|
<errors>
|
@@ -28,27 +28,24 @@
|
|
28
28
|
response: !ruby/struct:VCR::Response
|
29
29
|
status: !ruby/struct:VCR::ResponseStatus
|
30
30
|
code: 201
|
31
|
-
message:
|
31
|
+
message: Created
|
32
32
|
headers:
|
33
33
|
cache-control:
|
34
34
|
- no-cache
|
35
35
|
location:
|
36
36
|
- http://app.recurly.local:3000/accounts/d00d-1297746103
|
37
37
|
x-runtime:
|
38
|
-
- "
|
38
|
+
- "347"
|
39
39
|
content-type:
|
40
40
|
- application/xml; charset=utf-8
|
41
41
|
content-length:
|
42
42
|
- "522"
|
43
|
-
|
44
|
-
-
|
45
|
-
date:
|
46
|
-
- Fri, 11 Mar 2011 18:45:46 GMT
|
43
|
+
set-cookie:
|
44
|
+
- _recurly_session=2050d2c84f769b6781b8c218e3a393d4; domain=.recurly.local; path=/; HttpOnly
|
47
45
|
connection:
|
48
46
|
- close
|
49
|
-
|
50
|
-
-
|
51
|
-
- _recurly_session=50b68c0d6209378a114e224a005ecf38; domain=.recurly.local; path=/; HttpOnly
|
47
|
+
server:
|
48
|
+
- thin 1.2.7 codename No Hup
|
52
49
|
body: |
|
53
50
|
<?xml version="1.0" encoding="UTF-8"?>
|
54
51
|
<account>
|
@@ -61,8 +58,8 @@
|
|
61
58
|
<company_name></company_name>
|
62
59
|
<balance_in_cents type="integer">0</balance_in_cents>
|
63
60
|
<closed type="boolean">false</closed>
|
64
|
-
<hosted_login_token>
|
65
|
-
<created_at type="datetime">2011-03-
|
61
|
+
<hosted_login_token>df2b753ecc344ddda3d8006e5dc36d4e</hosted_login_token>
|
62
|
+
<created_at type="datetime">2011-03-18T18:45:59Z</created_at>
|
66
63
|
<state>active</state>
|
67
64
|
</account>
|
68
65
|
|