snaptrade 2.0.165 → 2.0.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +71 -2
- data/lib/snaptrade/api/connections_api.rb +103 -0
- data/lib/snaptrade/api/experimental_endpoints_api.rb +103 -0
- data/lib/snaptrade/models/account_value_history_item.rb +228 -0
- data/lib/snaptrade/models/account_value_history_response.rb +230 -0
- data/lib/snaptrade/models/brokerage.rb +11 -1
- data/lib/snaptrade/models/delete_connection_confirmation.rb +228 -0
- data/lib/snaptrade/version.rb +1 -1
- data/lib/snaptrade.rb +3 -0
- data/spec/api/connections_api_spec.rb +14 -0
- data/spec/api/experimental_endpoints_api_spec.rb +14 -0
- data/spec/models/account_value_history_item_spec.rb +35 -0
- data/spec/models/account_value_history_response_spec.rb +35 -0
- data/spec/models/brokerage_spec.rb +6 -0
- data/spec/models/delete_connection_confirmation_spec.rb +35 -0
- metadata +11 -2
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#SnapTrade
|
|
3
|
+
|
|
4
|
+
#Connect brokerage accounts to your app for live positions and trading
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: api@snaptrade.com
|
|
8
|
+
=end
|
|
9
|
+
|
|
10
|
+
require 'spec_helper'
|
|
11
|
+
require 'json'
|
|
12
|
+
require 'date'
|
|
13
|
+
|
|
14
|
+
# Unit tests for SnapTrade::DeleteConnectionConfirmation
|
|
15
|
+
describe SnapTrade::DeleteConnectionConfirmation do
|
|
16
|
+
let(:instance) { SnapTrade::DeleteConnectionConfirmation.new }
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of DeleteConnectionConfirmation' do
|
|
19
|
+
it 'should create an instance of DeleteConnectionConfirmation' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::DeleteConnectionConfirmation)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
describe 'test attribute "detail"' do
|
|
24
|
+
it 'should work' do
|
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test attribute "connection_id"' do
|
|
30
|
+
it 'should work' do
|
|
31
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
end
|
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.167
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SnapTrade
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-03-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -121,6 +121,8 @@ files:
|
|
|
121
121
|
- lib/snaptrade/models/account_universal_activity_currency.rb
|
|
122
122
|
- lib/snaptrade/models/account_universal_activity_option_symbol.rb
|
|
123
123
|
- lib/snaptrade/models/account_universal_activity_symbol.rb
|
|
124
|
+
- lib/snaptrade/models/account_value_history_item.rb
|
|
125
|
+
- lib/snaptrade/models/account_value_history_response.rb
|
|
124
126
|
- lib/snaptrade/models/action_strict.rb
|
|
125
127
|
- lib/snaptrade/models/action_strict_with_options.rb
|
|
126
128
|
- lib/snaptrade/models/auth_type.rb
|
|
@@ -151,6 +153,7 @@ files:
|
|
|
151
153
|
- lib/snaptrade/models/cryptocurrency_pair.rb
|
|
152
154
|
- lib/snaptrade/models/cryptocurrency_pair_quote.rb
|
|
153
155
|
- lib/snaptrade/models/currency.rb
|
|
156
|
+
- lib/snaptrade/models/delete_connection_confirmation.rb
|
|
154
157
|
- lib/snaptrade/models/delete_user_response.rb
|
|
155
158
|
- lib/snaptrade/models/dividend_at_date.rb
|
|
156
159
|
- lib/snaptrade/models/encrypted_response.rb
|
|
@@ -299,6 +302,8 @@ files:
|
|
|
299
302
|
- spec/models/account_universal_activity_option_symbol_spec.rb
|
|
300
303
|
- spec/models/account_universal_activity_spec.rb
|
|
301
304
|
- spec/models/account_universal_activity_symbol_spec.rb
|
|
305
|
+
- spec/models/account_value_history_item_spec.rb
|
|
306
|
+
- spec/models/account_value_history_response_spec.rb
|
|
302
307
|
- spec/models/action_strict_spec.rb
|
|
303
308
|
- spec/models/action_strict_with_options_spec.rb
|
|
304
309
|
- spec/models/auth_type_spec.rb
|
|
@@ -329,6 +334,7 @@ files:
|
|
|
329
334
|
- spec/models/cryptocurrency_pair_quote_spec.rb
|
|
330
335
|
- spec/models/cryptocurrency_pair_spec.rb
|
|
331
336
|
- spec/models/currency_spec.rb
|
|
337
|
+
- spec/models/delete_connection_confirmation_spec.rb
|
|
332
338
|
- spec/models/delete_user_response_spec.rb
|
|
333
339
|
- spec/models/dividend_at_date_spec.rb
|
|
334
340
|
- spec/models/encrypted_response_encrypted_message_data_spec.rb
|
|
@@ -496,6 +502,7 @@ test_files:
|
|
|
496
502
|
- spec/models/brokerage_spec.rb
|
|
497
503
|
- spec/models/account_order_record_quote_universal_symbol_spec.rb
|
|
498
504
|
- spec/models/simple_order_form_spec.rb
|
|
505
|
+
- spec/models/account_value_history_response_spec.rb
|
|
499
506
|
- spec/models/partner_data_spec.rb
|
|
500
507
|
- spec/models/manual_trade_symbol_spec.rb
|
|
501
508
|
- spec/models/mleg_price_effect_strict_spec.rb
|
|
@@ -573,6 +580,7 @@ test_files:
|
|
|
573
580
|
- spec/models/brokerage_type_spec.rb
|
|
574
581
|
- spec/models/dividend_at_date_spec.rb
|
|
575
582
|
- spec/models/brokerage_instrument_spec.rb
|
|
583
|
+
- spec/models/account_value_history_item_spec.rb
|
|
576
584
|
- spec/models/mleg_action_strict_spec.rb
|
|
577
585
|
- spec/models/crypto_order_form_spec.rb
|
|
578
586
|
- spec/models/figi_instrument_spec.rb
|
|
@@ -630,6 +638,7 @@ test_files:
|
|
|
630
638
|
- spec/models/crypto_trading_instrument_spec.rb
|
|
631
639
|
- spec/models/symbol_query_spec.rb
|
|
632
640
|
- spec/models/account_order_record_status_spec.rb
|
|
641
|
+
- spec/models/delete_connection_confirmation_spec.rb
|
|
633
642
|
- spec/models/account_spec.rb
|
|
634
643
|
- spec/models/crypto_trading_instrument_type_spec.rb
|
|
635
644
|
- spec/models/session_event_type_spec.rb
|