snaptrade 2.0.21 → 2.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +38 -2
- data/lib/snaptrade/api/connections_api.rb +103 -0
- data/lib/snaptrade/models/brokerage_authorization_refresh_confirmation.rb +217 -0
- data/lib/snaptrade/models/model402_brokerage_auth_disabled_response.rb +228 -0
- data/lib/snaptrade/models/model403_feature_not_enabled_response.rb +228 -0
- data/lib/snaptrade/models/snap_trade_holdings_account_account_id.rb +11 -1
- data/lib/snaptrade/models/snap_trade_holdings_account_account_id_balance.rb +224 -0
- data/lib/snaptrade/version.rb +1 -1
- data/lib/snaptrade.rb +4 -0
- data/spec/api/connections_api_spec.rb +14 -0
- data/spec/models/brokerage_authorization_refresh_confirmation_spec.rb +29 -0
- data/spec/models/model402_brokerage_auth_disabled_response_spec.rb +35 -0
- data/spec/models/model403_feature_not_enabled_response_spec.rb +35 -0
- data/spec/models/snap_trade_holdings_account_account_id_balance_spec.rb +29 -0
- data/spec/models/snap_trade_holdings_account_account_id_spec.rb +6 -0
- metadata +14 -2
@@ -56,6 +56,12 @@ describe SnapTrade::SnapTradeHoldingsAccountAccountId do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "balance"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "meta"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snaptrade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- lib/snaptrade/models/balance.rb
|
112
112
|
- lib/snaptrade/models/brokerage.rb
|
113
113
|
- lib/snaptrade/models/brokerage_authorization.rb
|
114
|
+
- lib/snaptrade/models/brokerage_authorization_refresh_confirmation.rb
|
114
115
|
- lib/snaptrade/models/brokerage_authorization_type.rb
|
115
116
|
- lib/snaptrade/models/brokerage_authorization_type_read_only.rb
|
116
117
|
- lib/snaptrade/models/brokerage_authorization_type_read_only_brokerage.rb
|
@@ -144,7 +145,9 @@ files:
|
|
144
145
|
- lib/snaptrade/models/manual_trade_symbol.rb
|
145
146
|
- lib/snaptrade/models/model400_failed_request_response.rb
|
146
147
|
- lib/snaptrade/models/model401_failed_request_response.rb
|
148
|
+
- lib/snaptrade/models/model402_brokerage_auth_disabled_response.rb
|
147
149
|
- lib/snaptrade/models/model403_failed_request_response.rb
|
150
|
+
- lib/snaptrade/models/model403_feature_not_enabled_response.rb
|
148
151
|
- lib/snaptrade/models/model404_failed_request_response.rb
|
149
152
|
- lib/snaptrade/models/model500_unexpected_exception_response.rb
|
150
153
|
- lib/snaptrade/models/model_asset_class.rb
|
@@ -190,6 +193,7 @@ files:
|
|
190
193
|
- lib/snaptrade/models/snap_trade_api_disclaimer_accept_status.rb
|
191
194
|
- lib/snaptrade/models/snap_trade_holdings_account.rb
|
192
195
|
- lib/snaptrade/models/snap_trade_holdings_account_account_id.rb
|
196
|
+
- lib/snaptrade/models/snap_trade_holdings_account_account_id_balance.rb
|
193
197
|
- lib/snaptrade/models/snap_trade_holdings_total_value.rb
|
194
198
|
- lib/snaptrade/models/snap_trade_login_user_request_body.rb
|
195
199
|
- lib/snaptrade/models/snap_trade_register_user_request_body.rb
|
@@ -255,6 +259,7 @@ files:
|
|
255
259
|
- spec/models/auth_type_spec.rb
|
256
260
|
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
257
261
|
- spec/models/balance_spec.rb
|
262
|
+
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
258
263
|
- spec/models/brokerage_authorization_spec.rb
|
259
264
|
- spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
|
260
265
|
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
@@ -290,7 +295,9 @@ files:
|
|
290
295
|
- spec/models/manual_trade_symbol_spec.rb
|
291
296
|
- spec/models/model400_failed_request_response_spec.rb
|
292
297
|
- spec/models/model401_failed_request_response_spec.rb
|
298
|
+
- spec/models/model402_brokerage_auth_disabled_response_spec.rb
|
293
299
|
- spec/models/model403_failed_request_response_spec.rb
|
300
|
+
- spec/models/model403_feature_not_enabled_response_spec.rb
|
294
301
|
- spec/models/model404_failed_request_response_spec.rb
|
295
302
|
- spec/models/model500_unexpected_exception_response_spec.rb
|
296
303
|
- spec/models/model_asset_class_details_spec.rb
|
@@ -334,6 +341,7 @@ files:
|
|
334
341
|
- spec/models/session_event_spec.rb
|
335
342
|
- spec/models/session_event_type_spec.rb
|
336
343
|
- spec/models/snap_trade_api_disclaimer_accept_status_spec.rb
|
344
|
+
- spec/models/snap_trade_holdings_account_account_id_balance_spec.rb
|
337
345
|
- spec/models/snap_trade_holdings_account_account_id_spec.rb
|
338
346
|
- spec/models/snap_trade_holdings_account_spec.rb
|
339
347
|
- spec/models/snap_trade_holdings_total_value_spec.rb
|
@@ -419,6 +427,7 @@ test_files:
|
|
419
427
|
- spec/models/brokerage_authorization_spec.rb
|
420
428
|
- spec/models/balance_spec.rb
|
421
429
|
- spec/models/exchange_spec.rb
|
430
|
+
- spec/models/model403_feature_not_enabled_response_spec.rb
|
422
431
|
- spec/models/brokerage_symbol_spec.rb
|
423
432
|
- spec/models/exchange_rate_pairs_spec.rb
|
424
433
|
- spec/models/user_settings_spec.rb
|
@@ -517,11 +526,13 @@ test_files:
|
|
517
526
|
- spec/models/target_asset_spec.rb
|
518
527
|
- spec/models/user_i_dand_secret_spec.rb
|
519
528
|
- spec/models/strategy_order_place_orders_inner_legs_inner_spec.rb
|
529
|
+
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
520
530
|
- spec/models/us_exchange_spec.rb
|
521
531
|
- spec/models/trade_spec.rb
|
522
532
|
- spec/models/model_portfolio_asset_class_spec.rb
|
523
533
|
- spec/models/option_chain_inner_spec.rb
|
524
534
|
- spec/models/option_leg_spec.rb
|
535
|
+
- spec/models/model402_brokerage_auth_disabled_response_spec.rb
|
525
536
|
- spec/models/model401_failed_request_response_spec.rb
|
526
537
|
- spec/models/brokerage_symbol_symbol_spec.rb
|
527
538
|
- spec/models/partner_data_spec.rb
|
@@ -543,6 +554,7 @@ test_files:
|
|
543
554
|
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
544
555
|
- spec/models/symbols_quotes_inner_spec.rb
|
545
556
|
- spec/models/dividend_at_date_spec.rb
|
557
|
+
- spec/models/snap_trade_holdings_account_account_id_balance_spec.rb
|
546
558
|
- spec/models/past_value_spec.rb
|
547
559
|
- spec/models/model_portfolio_spec.rb
|
548
560
|
- spec/spec_helper.rb
|