rbtc_arbitrage 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -2
  3. data/Gemfile +2 -2
  4. data/Gemfile.lock +32 -24
  5. data/lib/rbtc_arbitrage/version.rb +1 -1
  6. data/rbtc_arbitrage.gemspec +1 -1
  7. data/spec/spec_helper.rb +1 -0
  8. data/spec/support/cassettes/RbtcArbitrage_Clients_CoinbaseClient/_price/calls_coinbase.yml +136 -104
  9. data/spec/support/cassettes/RbtcArbitrage_Clients_CoinbaseClient/_price/fetches_price_for_buy_correctly.yml +36 -22
  10. data/spec/support/cassettes/RbtcArbitrage_Clients_CoinbaseClient/_price/fetches_price_for_sell_correctly.yml +36 -22
  11. metadata +4 -41
  12. data/.gitmodules +0 -3
  13. data/bitstamp/.gitignore +0 -21
  14. data/bitstamp/.rspec +0 -2
  15. data/bitstamp/.ruby-gemset +0 -1
  16. data/bitstamp/.ruby-version +0 -1
  17. data/bitstamp/Gemfile +0 -24
  18. data/bitstamp/Gemfile.lock +0 -64
  19. data/bitstamp/LICENSE.txt +0 -20
  20. data/bitstamp/README.md +0 -96
  21. data/bitstamp/Rakefile +0 -49
  22. data/bitstamp/VERSION +0 -1
  23. data/bitstamp/bitstamp.gemspec +0 -94
  24. data/bitstamp/lib/bitstamp.rb +0 -77
  25. data/bitstamp/lib/bitstamp/collection.rb +0 -30
  26. data/bitstamp/lib/bitstamp/helper.rb +0 -19
  27. data/bitstamp/lib/bitstamp/model.rb +0 -33
  28. data/bitstamp/lib/bitstamp/net.rb +0 -49
  29. data/bitstamp/lib/bitstamp/orders.rb +0 -41
  30. data/bitstamp/lib/bitstamp/ticker.rb +0 -16
  31. data/bitstamp/lib/bitstamp/transactions.rb +0 -37
  32. data/bitstamp/spec/bitstamp_spec.rb +0 -57
  33. data/bitstamp/spec/collection_spec.rb +0 -12
  34. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/balance.yml +0 -63
  35. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/order_book.yml +0 -1910
  36. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/orders/all.yml +0 -62
  37. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/orders/buy.yml +0 -62
  38. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/orders/sell/failure.yml +0 -60
  39. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/ticker.yml +0 -63
  40. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/transactions.yml +0 -244
  41. data/bitstamp/spec/fixtures/vcr_cassettes/bitstamp/user_transactions/all.yml +0 -223
  42. data/bitstamp/spec/orders_spec.rb +0 -40
  43. data/bitstamp/spec/spec_helper.rb +0 -26
  44. data/bitstamp/spec/support/bitstamp_setup.rb +0 -19
  45. data/bitstamp/spec/support/vcr.rb +0 -21
  46. data/bitstamp/spec/transactions_spec.rb +0 -32
  47. data/spec/support/cassettes/RbtcArbitrage_Clients_CoinbaseClient/_balance/fetches_the_balance_correctly.yml +0 -109
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8aa43ebb666ac66292270a13719ad9f80a37f298
4
- data.tar.gz: 0ea12000e83dcd7fef47e5377dff2746432fcd96
3
+ metadata.gz: e1cf621f1ce6432c980f6d975198d210b0b44fe5
4
+ data.tar.gz: a6dd19d05534e1564496ad522ca061734b749614
5
5
  SHA512:
6
- metadata.gz: 3f1a36a82a20c19335a1d74c60c12aecd802aeeab37949a77f535690c31bf07b766ebfaad8f464500c1b9d399b7ef561998fc7dc597415113557b19c43231176
7
- data.tar.gz: 1819e937e4eea6eac95e66d1152d83cbf0293c9d84566db9a1cf74189b04b6f6262e886fcc792f3d0348e20a50c2443887ead3c6477a716b18221d8c70ade887
6
+ metadata.gz: 208a85b91199484e921f9aad38affaac5c11a68f67ea72f6655d6e61ee5ccb5022dd2786f5319cc0219bfc82b98d0aa9f41689fd9dd2421ff72687b52cc441f8
7
+ data.tar.gz: f823818846d1a5a2731b82780530f7dd838b9ec8408aa19333ffad7c2bc688464ca766d6f53cb31623414fca2a3648924b69662cae55282a15d0ddf96f679d92
data/.travis.yml CHANGED
@@ -1,13 +1,13 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.0
3
+ - 2.1.1
4
4
  - 2.0.0
5
5
  - 1.9.3
6
6
  - ruby-head
7
7
 
8
8
  matrix:
9
9
  allow_failures:
10
- - rvm: 2.1.0
10
+ - rvm: 2.1.1
11
11
  - rvm: ruby-head
12
12
  env:
13
13
  global:
data/Gemfile CHANGED
@@ -17,5 +17,5 @@ group :development do
17
17
  gem 'codeclimate-test-reporter'
18
18
  gem 'hashie'
19
19
  gem 'sinatra'
20
- end
21
- gem 'bitstamp', path: './bitstamp'
20
+ gem 'bitstamp', github: 'kojnapp/bitstamp', ref: 'aa6d572d1796a9fdae49220304c5cad9c4d058ee'
21
+ end
data/Gemfile.lock CHANGED
@@ -1,27 +1,29 @@
1
+ GIT
2
+ remote: git://github.com/kojnapp/bitstamp.git
3
+ revision: aa6d572d1796a9fdae49220304c5cad9c4d058ee
4
+ ref: aa6d572d1796a9fdae49220304c5cad9c4d058ee
5
+ specs:
6
+ bitstamp (0.4.0)
7
+ activemodel (>= 3.1)
8
+ activesupport (>= 3.1)
9
+ curb (> 0.8.1)
10
+ ruby-hmac (= 0.4.0)
11
+
1
12
  PATH
2
13
  remote: .
3
14
  specs:
4
- rbtc_arbitrage (2.3.0)
15
+ rbtc_arbitrage (2.4.0)
5
16
  activemodel (>= 3.1)
6
17
  activesupport (>= 3.1)
7
18
  btce (= 0.2.4)
8
19
  bundler (~> 1.3)
9
- coinbase (= 1.3.0)
20
+ coinbase (= 2.1.0)
10
21
  faraday (= 0.8.8)
11
22
  pony
12
23
  rake (= 10.1.1)
13
24
  tco (= 0.1.0)
14
25
  thor
15
26
 
16
- PATH
17
- remote: ./bitstamp
18
- specs:
19
- bitstamp (0.4.0)
20
- activemodel (>= 3.1)
21
- activesupport (>= 3.1)
22
- curb (> 0.8.1)
23
- ruby-hmac (= 0.4.0)
24
-
25
27
  GEM
26
28
  remote: https://rubygems.org/
27
29
  specs:
@@ -44,11 +46,13 @@ GEM
44
46
  codeclimate-test-reporter (0.2.0)
45
47
  simplecov (>= 0.7.1, < 1.0.0)
46
48
  coderay (1.1.0)
47
- coinbase (1.3.0)
49
+ coinbase (2.1.0)
48
50
  hashie (>= 1.2.0)
49
51
  httparty (>= 0.8.3)
50
- money (= 5.1.1)
52
+ monetize (~> 0.3.0)
53
+ money (~> 6.0)
51
54
  multi_json (>= 1.3.4)
55
+ oauth2 (~> 0.9)
52
56
  coveralls (0.7.0)
53
57
  multi_json (~> 1.3)
54
58
  rest-client
@@ -57,7 +61,7 @@ GEM
57
61
  thor
58
62
  crack (0.4.1)
59
63
  safe_yaml (~> 0.9.0)
60
- curb (0.8.5)
64
+ curb (0.8.6)
61
65
  diff-lcs (1.2.5)
62
66
  docile (1.1.1)
63
67
  faraday (0.8.8)
@@ -79,27 +83,33 @@ GEM
79
83
  multi_xml (>= 0.5.2)
80
84
  i18n (0.6.9)
81
85
  json (1.8.1)
86
+ jwt (1.0.0)
82
87
  listen (2.4.0)
83
88
  celluloid (>= 0.15.2)
84
89
  rb-fsevent (>= 0.9.3)
85
90
  rb-inotify (>= 0.9)
86
91
  lumberjack (1.0.4)
87
- mail (2.2.7)
88
- activesupport (>= 2.3.6)
89
- mime-types
90
- treetop (>= 1.4.5)
92
+ mail (2.6.1)
93
+ mime-types (>= 1.16, < 3)
91
94
  method_source (0.8.2)
92
95
  mime-types (2.0)
93
96
  minitest (4.7.5)
94
- money (5.1.1)
95
- i18n (~> 0.6.0)
97
+ monetize (0.3.0)
98
+ money (~> 6.1.0.beta1)
99
+ money (6.1.1)
100
+ i18n (~> 0.6.4)
96
101
  monkey-patch (0.0.16)
97
102
  activesupport
98
103
  multi_json (1.9.2)
99
104
  multi_xml (0.5.5)
100
105
  multipart-post (1.2.0)
101
- polyglot (0.3.4)
102
- pony (1.8)
106
+ oauth2 (0.9.4)
107
+ faraday (>= 0.8, < 0.10)
108
+ jwt (~> 1.0)
109
+ multi_json (~> 1.3)
110
+ multi_xml (~> 0.5)
111
+ rack (~> 1.2)
112
+ pony (1.10)
103
113
  mail (>= 2.0)
104
114
  pry (0.9.12.4)
105
115
  coderay (~> 1.0)
@@ -148,8 +158,6 @@ GEM
148
158
  tilt (1.4.1)
149
159
  timers (1.1.0)
150
160
  tins (0.13.1)
151
- treetop (1.5.3)
152
- polyglot (~> 0.3)
153
161
  tzinfo (0.3.39)
154
162
  vcr (2.8.0)
155
163
  webmock (1.16.1)
@@ -1,3 +1,3 @@
1
1
  module RbtcArbitrage
2
- VERSION = "2.3.0"
2
+ VERSION = "2.4.0"
3
3
  end
@@ -47,7 +47,7 @@ Gem::Specification.new do |spec|
47
47
  spec.add_dependency "activesupport", ">= 3.1"
48
48
  spec.add_dependency "thor"
49
49
  spec.add_dependency "btce", '0.2.4'
50
- spec.add_dependency "coinbase", '1.3.0'
50
+ spec.add_dependency "coinbase", '2.1.0'
51
51
  spec.add_dependency "pony"
52
52
  spec.add_dependency "tco", "0.1.0"
53
53
  end
data/spec/spec_helper.rb CHANGED
@@ -24,6 +24,7 @@ VCR.configure do |c|
24
24
  c.ignore_request do |request|
25
25
  # true
26
26
  end
27
+ c.filter_sensitive_data("<COINBASE_KEY>") { ENV['COINBASE_KEY'] }
27
28
  c.configure_rspec_metadata!
28
29
  end
29
30
 
@@ -2,8 +2,19 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://coinbase.com/api/v1/prices/buy
6
- headers: {}
5
+ uri: https://coinbase.com/api/v1/prices/buy?qty=1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Access-Key:
11
+ - <COINBASE_KEY>
12
+ Access-Signature:
13
+ - 5ea031c544bc6321482ae1bd6551c79806cd4bb79cc3d74f34ce6380ddb738c4
14
+ Access-Nonce:
15
+ - '1406308782570980'
16
+ Content-Type:
17
+ - application/json
7
18
  response:
8
19
  status:
9
20
  code: 200
@@ -12,51 +23,59 @@ http_interactions:
12
23
  Server:
13
24
  - cloudflare-nginx
14
25
  Date:
15
- - Mon, 23 Dec 2013 01:50:02 GMT
26
+ - Fri, 25 Jul 2014 17:19:43 GMT
16
27
  Content-Type:
17
28
  - application/json; charset=utf-8
18
29
  Transfer-Encoding:
19
30
  - chunked
20
31
  Connection:
21
32
  - keep-alive
22
- Set-Cookie:
23
- - __cfduid=ddaa6e4bf7ecb198302cf54b54705b1131387763401454; expires=Mon, 23-Dec-2019
24
- 23:50:00 GMT; path=/; domain=.coinbase.com; HttpOnly
25
- - request_method=GET; path=/; secure
33
+ Cache-Control:
34
+ - no-cache, no-store, max-age=0, must-revalidate
35
+ Expires:
36
+ - '-1'
37
+ Pragma:
38
+ - no-cache
26
39
  Status:
27
40
  - 200 OK
28
41
  Strict-Transport-Security:
29
42
  - max-age=31536000
30
- - max-age=31536000
31
- X-Ua-Compatible:
32
- - IE=Edge,chrome=1
33
- Etag:
34
- - '"21c3685567c83fb6123bfaa4d9ea14f5"'
35
- Cache-Control:
36
- - max-age=0, private, must-revalidate
37
- X-Request-Id:
38
- - 6f5e05003d57c4f27106b08346d40e92
39
- X-Runtime:
40
- - '0.231970'
41
- X-Frame-Options:
42
- - SAMEORIGIN
43
+ Vary:
44
+ - Accept-Encoding
43
45
  X-Content-Type-Options:
44
46
  - nosniff
47
+ X-Frame-Options:
48
+ - SAMEORIGIN
45
49
  X-Rack-Cache:
46
50
  - miss
47
- Vary:
48
- - Accept-Encoding
51
+ X-Request-Id:
52
+ - e4db8662-2753-4b12-8248-641eb7693b8d
53
+ X-Runtime:
54
+ - '0.519928'
55
+ X-Ua-Compatible:
56
+ - IE=Edge,chrome=1
49
57
  Cf-Ray:
50
- - e11660a84d90296
58
+ - 14fa06239411051a-SEA
51
59
  body:
52
60
  encoding: UTF-8
53
- string: '{"subtotal":{"amount":"634.03","currency":"USD"},"fees":[{"coinbase":{"amount":"6.34","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"640.52","currency":"USD"},"amount":"640.52","currency":"USD"}'
54
- http_version:
55
- recorded_at: Mon, 23 Dec 2013 01:50:01 GMT
61
+ string: '{"subtotal":{"amount":"602.93","currency":"USD"},"fees":[{"coinbase":{"amount":"6.03","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"609.11","currency":"USD"},"amount":"609.11","currency":"USD"}'
62
+ http_version:
63
+ recorded_at: Fri, 25 Jul 2014 17:19:43 GMT
56
64
  - request:
57
65
  method: get
58
- uri: https://coinbase.com/api/v1/prices/buy
59
- headers: {}
66
+ uri: https://coinbase.com/api/v1/prices/buy?qty=1
67
+ body:
68
+ encoding: US-ASCII
69
+ string: ''
70
+ headers:
71
+ Access-Key:
72
+ - <COINBASE_KEY>
73
+ Access-Signature:
74
+ - 5e429c3ac24c7db7e606969f48cc393fb39c591a45f46d48364007bbc415984f
75
+ Access-Nonce:
76
+ - '1406308783565567'
77
+ Content-Type:
78
+ - application/json
60
79
  response:
61
80
  status:
62
81
  code: 200
@@ -65,51 +84,59 @@ http_interactions:
65
84
  Server:
66
85
  - cloudflare-nginx
67
86
  Date:
68
- - Mon, 23 Dec 2013 01:50:03 GMT
87
+ - Fri, 25 Jul 2014 17:19:44 GMT
69
88
  Content-Type:
70
89
  - application/json; charset=utf-8
71
90
  Transfer-Encoding:
72
91
  - chunked
73
92
  Connection:
74
93
  - keep-alive
75
- Set-Cookie:
76
- - __cfduid=d599c599d9a0afa96ebc108372a7338501387763402504; expires=Mon, 23-Dec-2019
77
- 23:50:00 GMT; path=/; domain=.coinbase.com; HttpOnly
78
- - request_method=GET; path=/; secure
94
+ Cache-Control:
95
+ - no-cache, no-store, max-age=0, must-revalidate
96
+ Expires:
97
+ - '-1'
98
+ Pragma:
99
+ - no-cache
79
100
  Status:
80
101
  - 200 OK
81
102
  Strict-Transport-Security:
82
103
  - max-age=31536000
83
- - max-age=31536000
84
- X-Ua-Compatible:
85
- - IE=Edge,chrome=1
86
- Etag:
87
- - '"21c3685567c83fb6123bfaa4d9ea14f5"'
88
- Cache-Control:
89
- - max-age=0, private, must-revalidate
90
- X-Request-Id:
91
- - 8f1a06fc780cb3eff298c0e95b5b725b
92
- X-Runtime:
93
- - '0.458310'
94
- X-Frame-Options:
95
- - SAMEORIGIN
104
+ Vary:
105
+ - Accept-Encoding
96
106
  X-Content-Type-Options:
97
107
  - nosniff
108
+ X-Frame-Options:
109
+ - SAMEORIGIN
98
110
  X-Rack-Cache:
99
111
  - miss
100
- Vary:
101
- - Accept-Encoding
112
+ X-Request-Id:
113
+ - f628fdf9-5d1b-4bfa-a346-874f6ee42ed6
114
+ X-Runtime:
115
+ - '0.502370'
116
+ X-Ua-Compatible:
117
+ - IE=Edge,chrome=1
102
118
  Cf-Ray:
103
- - e11661132770296
119
+ - 14fa0629bf33051a-SEA
104
120
  body:
105
121
  encoding: UTF-8
106
- string: '{"subtotal":{"amount":"634.03","currency":"USD"},"fees":[{"coinbase":{"amount":"6.34","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"640.52","currency":"USD"},"amount":"640.52","currency":"USD"}'
107
- http_version:
108
- recorded_at: Mon, 23 Dec 2013 01:50:02 GMT
122
+ string: '{"subtotal":{"amount":"602.93","currency":"USD"},"fees":[{"coinbase":{"amount":"6.03","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"609.11","currency":"USD"},"amount":"609.11","currency":"USD"}'
123
+ http_version:
124
+ recorded_at: Fri, 25 Jul 2014 17:19:44 GMT
109
125
  - request:
110
126
  method: get
111
- uri: https://coinbase.com/api/v1/prices/sell
112
- headers: {}
127
+ uri: https://coinbase.com/api/v1/prices/sell?qty=1
128
+ body:
129
+ encoding: US-ASCII
130
+ string: ''
131
+ headers:
132
+ Access-Key:
133
+ - <COINBASE_KEY>
134
+ Access-Signature:
135
+ - d85b1b9e8c7e6dea0ef3bb84b2bde44e96d768e7a398b9c34300eb1c13bc0f6f
136
+ Access-Nonce:
137
+ - '1406308784234865'
138
+ Content-Type:
139
+ - application/json
113
140
  response:
114
141
  status:
115
142
  code: 200
@@ -118,51 +145,59 @@ http_interactions:
118
145
  Server:
119
146
  - cloudflare-nginx
120
147
  Date:
121
- - Mon, 23 Dec 2013 01:50:04 GMT
148
+ - Fri, 25 Jul 2014 17:19:45 GMT
122
149
  Content-Type:
123
150
  - application/json; charset=utf-8
124
151
  Transfer-Encoding:
125
152
  - chunked
126
153
  Connection:
127
154
  - keep-alive
128
- Set-Cookie:
129
- - __cfduid=da4ea8419396ce80064daee243fa1fa351387763403732; expires=Mon, 23-Dec-2019
130
- 23:50:00 GMT; path=/; domain=.coinbase.com; HttpOnly
131
- - request_method=GET; path=/; secure
155
+ Cache-Control:
156
+ - no-cache, no-store, max-age=0, must-revalidate
157
+ Expires:
158
+ - '-1'
159
+ Pragma:
160
+ - no-cache
132
161
  Status:
133
162
  - 200 OK
134
163
  Strict-Transport-Security:
135
164
  - max-age=31536000
136
- - max-age=31536000
137
- X-Ua-Compatible:
138
- - IE=Edge,chrome=1
139
- Etag:
140
- - '"a2bef70e39b2d17967c8ca9791524579"'
141
- Cache-Control:
142
- - max-age=0, private, must-revalidate
143
- X-Request-Id:
144
- - 62d3d1b1273638380afc79bd0d9d2525
145
- X-Runtime:
146
- - '0.224874'
147
- X-Frame-Options:
148
- - SAMEORIGIN
165
+ Vary:
166
+ - Accept-Encoding
149
167
  X-Content-Type-Options:
150
168
  - nosniff
169
+ X-Frame-Options:
170
+ - SAMEORIGIN
151
171
  X-Rack-Cache:
152
172
  - miss
153
- Vary:
154
- - Accept-Encoding
173
+ X-Request-Id:
174
+ - 46d31e23-8f14-4aa6-ac50-377dccefbf3d
175
+ X-Runtime:
176
+ - '0.713108'
177
+ X-Ua-Compatible:
178
+ - IE=Edge,chrome=1
155
179
  Cf-Ray:
156
- - e116618e67f0296
180
+ - 14fa062dff56051a-SEA
157
181
  body:
158
182
  encoding: UTF-8
159
- string: '{"subtotal":{"amount":"632.52","currency":"USD"},"fees":[{"coinbase":{"amount":"6.33","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"626.04","currency":"USD"},"amount":"626.04","currency":"USD"}'
160
- http_version:
161
- recorded_at: Mon, 23 Dec 2013 01:50:03 GMT
183
+ string: '{"subtotal":{"amount":"601.18","currency":"USD"},"fees":[{"coinbase":{"amount":"6.01","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"595.02","currency":"USD"},"amount":"595.02","currency":"USD"}'
184
+ http_version:
185
+ recorded_at: Fri, 25 Jul 2014 17:19:45 GMT
162
186
  - request:
163
187
  method: get
164
- uri: https://coinbase.com/api/v1/prices/sell
165
- headers: {}
188
+ uri: https://coinbase.com/api/v1/prices/sell?qty=1
189
+ body:
190
+ encoding: US-ASCII
191
+ string: ''
192
+ headers:
193
+ Access-Key:
194
+ - <COINBASE_KEY>
195
+ Access-Signature:
196
+ - 5e51b4ca5841b3d8a504bd10809838764686f1116ba96c340ccf8ad92a4e4875
197
+ Access-Nonce:
198
+ - '1406308785513824'
199
+ Content-Type:
200
+ - application/json
166
201
  response:
167
202
  status:
168
203
  code: 200
@@ -171,45 +206,42 @@ http_interactions:
171
206
  Server:
172
207
  - cloudflare-nginx
173
208
  Date:
174
- - Mon, 23 Dec 2013 01:50:06 GMT
209
+ - Fri, 25 Jul 2014 17:19:46 GMT
175
210
  Content-Type:
176
211
  - application/json; charset=utf-8
177
212
  Transfer-Encoding:
178
213
  - chunked
179
214
  Connection:
180
215
  - keep-alive
181
- Set-Cookie:
182
- - __cfduid=d3866b19f4121fd78614bbc73b874cb1a1387763405942; expires=Mon, 23-Dec-2019
183
- 23:50:00 GMT; path=/; domain=.coinbase.com; HttpOnly
184
- - request_method=GET; path=/; secure
216
+ Cache-Control:
217
+ - no-cache, no-store, max-age=0, must-revalidate
218
+ Expires:
219
+ - '-1'
220
+ Pragma:
221
+ - no-cache
185
222
  Status:
186
223
  - 200 OK
187
224
  Strict-Transport-Security:
188
225
  - max-age=31536000
189
- - max-age=31536000
190
- X-Ua-Compatible:
191
- - IE=Edge,chrome=1
192
- Etag:
193
- - '"a2bef70e39b2d17967c8ca9791524579"'
194
- Cache-Control:
195
- - max-age=0, private, must-revalidate
196
- X-Request-Id:
197
- - dfbf6c7596d2b6f6de5078a8d29ad4f5
198
- X-Runtime:
199
- - '0.267502'
200
- X-Frame-Options:
201
- - SAMEORIGIN
226
+ Vary:
227
+ - Accept-Encoding
202
228
  X-Content-Type-Options:
203
229
  - nosniff
230
+ X-Frame-Options:
231
+ - SAMEORIGIN
204
232
  X-Rack-Cache:
205
233
  - miss
206
- Vary:
207
- - Accept-Encoding
234
+ X-Request-Id:
235
+ - bb14f405-9d5a-4c26-a5c8-60bd0c5afab8
236
+ X-Runtime:
237
+ - '0.464737'
238
+ X-Ua-Compatible:
239
+ - IE=Edge,chrome=1
208
240
  Cf-Ray:
209
- - e116626b2b10296
241
+ - 14fa0635ef94051a-SEA
210
242
  body:
211
243
  encoding: UTF-8
212
- string: '{"subtotal":{"amount":"632.52","currency":"USD"},"fees":[{"coinbase":{"amount":"6.33","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"626.04","currency":"USD"},"amount":"626.04","currency":"USD"}'
213
- http_version:
214
- recorded_at: Mon, 23 Dec 2013 01:50:05 GMT
244
+ string: '{"subtotal":{"amount":"601.18","currency":"USD"},"fees":[{"coinbase":{"amount":"6.01","currency":"USD"}},{"bank":{"amount":"0.15","currency":"USD"}}],"total":{"amount":"595.02","currency":"USD"},"amount":"595.02","currency":"USD"}'
245
+ http_version:
246
+ recorded_at: Fri, 25 Jul 2014 17:19:46 GMT
215
247
  recorded_with: VCR 2.8.0