snaptrade 3.0.8 → 3.0.10

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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +4 -41
  4. data/lib/snaptrade/api/account_information_api.rb +4 -107
  5. data/lib/snaptrade/api/experimental_endpoints_api.rb +4 -4
  6. data/lib/snaptrade/models/connection_account.rb +5 -3
  7. data/lib/snaptrade/models/connection_account_sync_status.rb +1 -1
  8. data/lib/snaptrade/models/deposit_account_net_value.rb +1 -1
  9. data/lib/snaptrade/models/investment_account_net_value.rb +1 -1
  10. data/lib/snaptrade/models/line_of_credit_account.rb +356 -0
  11. data/lib/snaptrade/models/line_of_credit_account_credit_details.rb +218 -0
  12. data/lib/snaptrade/models/{user_aum_percentile_response.rb → line_of_credit_account_credit_details_minimum_payment_amount.rb} +22 -12
  13. data/lib/snaptrade/models/{bucket.rb → line_of_credit_account_kind.rb} +5 -10
  14. data/lib/snaptrade/models/{user_aum_percentile_object.rb → line_of_credit_account_net_value.rb} +13 -67
  15. data/lib/snaptrade/models/{user_aum_percentile_response_data.rb → line_of_credit_account_sync_status.rb} +19 -79
  16. data/lib/snaptrade/version.rb +1 -1
  17. data/lib/snaptrade.rb +6 -4
  18. data/spec/api/account_information_api_spec.rb +1 -14
  19. data/spec/api/experimental_endpoints_api_spec.rb +1 -1
  20. data/spec/models/line_of_credit_account_credit_details_minimum_payment_amount_spec.rb +35 -0
  21. data/spec/models/line_of_credit_account_credit_details_spec.rb +29 -0
  22. data/spec/models/line_of_credit_account_kind_spec.rb +23 -0
  23. data/spec/models/line_of_credit_account_net_value_spec.rb +35 -0
  24. data/spec/models/line_of_credit_account_spec.rb +95 -0
  25. data/spec/models/line_of_credit_account_sync_status_spec.rb +35 -0
  26. metadata +229 -223
  27. data/spec/models/bucket_spec.rb +0 -23
  28. data/spec/models/user_aum_percentile_object_spec.rb +0 -53
  29. data/spec/models/user_aum_percentile_response_data_spec.rb +0 -53
  30. data/spec/models/user_aum_percentile_response_spec.rb +0 -29
@@ -1,53 +0,0 @@
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::UserAumPercentileResponseData
15
- describe SnapTrade::UserAumPercentileResponseData do
16
- let(:instance) { SnapTrade::UserAumPercentileResponseData.new }
17
-
18
- describe 'test an instance of UserAumPercentileResponseData' do
19
- it 'should create an instance of UserAumPercentileResponseData' do
20
- expect(instance).to be_instance_of(SnapTrade::UserAumPercentileResponseData)
21
- end
22
- end
23
- describe 'test attribute "bucket"' 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 "percentile"' 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
- describe 'test attribute "cohort_size"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "as_of"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- describe 'test attribute "currency"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
- end
@@ -1,29 +0,0 @@
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::UserAumPercentileResponse
15
- describe SnapTrade::UserAumPercentileResponse do
16
- let(:instance) { SnapTrade::UserAumPercentileResponse.new }
17
-
18
- describe 'test an instance of UserAumPercentileResponse' do
19
- it 'should create an instance of UserAumPercentileResponse' do
20
- expect(instance).to be_instance_of(SnapTrade::UserAumPercentileResponse)
21
- end
22
- end
23
- describe 'test attribute "data"' 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
- end