finnhub_ruby 1.1.7 → 1.1.11

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 (151) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +56 -15
  3. data/docs/CompanyESG.md +28 -0
  4. data/docs/CompanyEarningsQualityScore.md +22 -0
  5. data/docs/CompanyEarningsQualityScoreData.md +30 -0
  6. data/docs/CompanyProfile.md +4 -4
  7. data/docs/CountryMetadata.md +5 -1
  8. data/docs/CryptoProfile.md +38 -0
  9. data/docs/DefaultApi.md +386 -9
  10. data/docs/EbitEstimates.md +22 -0
  11. data/docs/EbitEstimatesInfo.md +26 -0
  12. data/docs/EbitdaEstimates.md +22 -0
  13. data/docs/EbitdaEstimatesInfo.md +26 -0
  14. data/docs/KeyCustomersSuppliers.md +13 -1
  15. data/docs/MutualFundProfileData.md +9 -1
  16. data/docs/Transactions.md +2 -0
  17. data/finnhub_ruby-1.1.10.gem +0 -0
  18. data/finnhub_ruby-1.1.7.gem +0 -0
  19. data/finnhub_ruby-1.1.8.gem +0 -0
  20. data/finnhub_ruby-1.1.9.gem +0 -0
  21. data/finnhub_ruby.gemspec +1 -1
  22. data/lib/finnhub_ruby/api/default_api.rb +346 -7
  23. data/lib/finnhub_ruby/api_client.rb +1 -1
  24. data/lib/finnhub_ruby/api_error.rb +1 -1
  25. data/lib/finnhub_ruby/configuration.rb +1 -1
  26. data/lib/finnhub_ruby/models/aggregate_indicators.rb +1 -1
  27. data/lib/finnhub_ruby/models/basic_financials.rb +1 -1
  28. data/lib/finnhub_ruby/models/breakdown_item.rb +1 -1
  29. data/lib/finnhub_ruby/models/company.rb +1 -1
  30. data/lib/finnhub_ruby/models/company_earnings_quality_score.rb +241 -0
  31. data/lib/finnhub_ruby/models/company_earnings_quality_score_data.rb +279 -0
  32. data/lib/finnhub_ruby/models/company_esg.rb +268 -0
  33. data/lib/finnhub_ruby/models/company_executive.rb +1 -1
  34. data/lib/finnhub_ruby/models/company_news.rb +1 -1
  35. data/lib/finnhub_ruby/models/company_news_statistics.rb +1 -1
  36. data/lib/finnhub_ruby/models/company_profile.rb +5 -5
  37. data/lib/finnhub_ruby/models/company_profile2.rb +1 -1
  38. data/lib/finnhub_ruby/models/country_metadata.rb +25 -5
  39. data/lib/finnhub_ruby/models/covid_info.rb +1 -1
  40. data/lib/finnhub_ruby/models/crypto_candles.rb +1 -1
  41. data/lib/finnhub_ruby/models/crypto_profile.rb +319 -0
  42. data/lib/finnhub_ruby/models/crypto_symbol.rb +1 -1
  43. data/lib/finnhub_ruby/models/development.rb +1 -1
  44. data/lib/finnhub_ruby/models/dividends.rb +1 -1
  45. data/lib/finnhub_ruby/models/dividends2.rb +1 -1
  46. data/lib/finnhub_ruby/models/dividends2_info.rb +1 -1
  47. data/lib/finnhub_ruby/models/earning_release.rb +1 -1
  48. data/lib/finnhub_ruby/models/earning_result.rb +1 -1
  49. data/lib/finnhub_ruby/models/earnings_calendar.rb +1 -1
  50. data/lib/finnhub_ruby/models/earnings_call_transcripts.rb +1 -1
  51. data/lib/finnhub_ruby/models/earnings_call_transcripts_list.rb +1 -1
  52. data/lib/finnhub_ruby/models/earnings_estimates.rb +1 -1
  53. data/lib/finnhub_ruby/models/earnings_estimates_info.rb +1 -1
  54. data/lib/finnhub_ruby/models/ebit_estimates.rb +241 -0
  55. data/lib/finnhub_ruby/models/ebit_estimates_info.rb +259 -0
  56. data/lib/finnhub_ruby/models/ebitda_estimates.rb +241 -0
  57. data/lib/finnhub_ruby/models/ebitda_estimates_info.rb +259 -0
  58. data/lib/finnhub_ruby/models/economic_calendar.rb +1 -1
  59. data/lib/finnhub_ruby/models/economic_code.rb +1 -1
  60. data/lib/finnhub_ruby/models/economic_data.rb +1 -1
  61. data/lib/finnhub_ruby/models/economic_data_info.rb +1 -1
  62. data/lib/finnhub_ruby/models/economic_event.rb +1 -1
  63. data/lib/finnhub_ruby/models/etf_country_exposure_data.rb +1 -1
  64. data/lib/finnhub_ruby/models/etf_holdings_data.rb +1 -1
  65. data/lib/finnhub_ruby/models/etf_profile_data.rb +1 -1
  66. data/lib/finnhub_ruby/models/etf_sector_exposure_data.rb +1 -1
  67. data/lib/finnhub_ruby/models/etfs_country_exposure.rb +1 -1
  68. data/lib/finnhub_ruby/models/etfs_holdings.rb +1 -1
  69. data/lib/finnhub_ruby/models/etfs_profile.rb +1 -1
  70. data/lib/finnhub_ruby/models/etfs_sector_exposure.rb +1 -1
  71. data/lib/finnhub_ruby/models/fda_comittee_meeting.rb +1 -1
  72. data/lib/finnhub_ruby/models/filing.rb +1 -1
  73. data/lib/finnhub_ruby/models/filing_sentiment.rb +1 -1
  74. data/lib/finnhub_ruby/models/financial_statements.rb +1 -1
  75. data/lib/finnhub_ruby/models/financials_as_reported.rb +1 -1
  76. data/lib/finnhub_ruby/models/forex_candles.rb +1 -1
  77. data/lib/finnhub_ruby/models/forex_symbol.rb +1 -1
  78. data/lib/finnhub_ruby/models/forexrates.rb +1 -1
  79. data/lib/finnhub_ruby/models/fund_ownership.rb +1 -1
  80. data/lib/finnhub_ruby/models/fund_ownership_info.rb +1 -1
  81. data/lib/finnhub_ruby/models/historical_nbbo.rb +1 -1
  82. data/lib/finnhub_ruby/models/index_historical_constituent.rb +1 -1
  83. data/lib/finnhub_ruby/models/indicator.rb +1 -1
  84. data/lib/finnhub_ruby/models/indices_constituents.rb +1 -1
  85. data/lib/finnhub_ruby/models/indices_historical_constituents.rb +1 -1
  86. data/lib/finnhub_ruby/models/insider_transactions.rb +1 -1
  87. data/lib/finnhub_ruby/models/international_filing.rb +1 -1
  88. data/lib/finnhub_ruby/models/investment_theme_portfolio.rb +1 -1
  89. data/lib/finnhub_ruby/models/investment_themes.rb +1 -1
  90. data/lib/finnhub_ruby/models/ipo_calendar.rb +1 -1
  91. data/lib/finnhub_ruby/models/ipo_event.rb +1 -1
  92. data/lib/finnhub_ruby/models/key_customers_suppliers.rb +65 -5
  93. data/lib/finnhub_ruby/models/last_bid_ask.rb +1 -1
  94. data/lib/finnhub_ruby/models/market_news.rb +1 -1
  95. data/lib/finnhub_ruby/models/mutual_fund_country_exposure.rb +1 -1
  96. data/lib/finnhub_ruby/models/mutual_fund_country_exposure_data.rb +1 -1
  97. data/lib/finnhub_ruby/models/mutual_fund_holdings.rb +1 -1
  98. data/lib/finnhub_ruby/models/mutual_fund_holdings_data.rb +1 -1
  99. data/lib/finnhub_ruby/models/mutual_fund_profile.rb +1 -1
  100. data/lib/finnhub_ruby/models/mutual_fund_profile_data.rb +45 -5
  101. data/lib/finnhub_ruby/models/mutual_fund_sector_exposure.rb +1 -1
  102. data/lib/finnhub_ruby/models/mutual_fund_sector_exposure_data.rb +1 -1
  103. data/lib/finnhub_ruby/models/news_sentiment.rb +1 -1
  104. data/lib/finnhub_ruby/models/ownership.rb +1 -1
  105. data/lib/finnhub_ruby/models/ownership_info.rb +1 -1
  106. data/lib/finnhub_ruby/models/pattern_recognition.rb +1 -1
  107. data/lib/finnhub_ruby/models/press_release.rb +1 -1
  108. data/lib/finnhub_ruby/models/price_target.rb +1 -1
  109. data/lib/finnhub_ruby/models/quote.rb +1 -1
  110. data/lib/finnhub_ruby/models/recommendation_trend.rb +1 -1
  111. data/lib/finnhub_ruby/models/reddit_sentiment_content.rb +1 -1
  112. data/lib/finnhub_ruby/models/report.rb +1 -1
  113. data/lib/finnhub_ruby/models/revenue_breakdown.rb +1 -1
  114. data/lib/finnhub_ruby/models/revenue_estimates.rb +1 -1
  115. data/lib/finnhub_ruby/models/revenue_estimates_info.rb +1 -1
  116. data/lib/finnhub_ruby/models/sec_sentiment_analysis.rb +1 -1
  117. data/lib/finnhub_ruby/models/sentiment.rb +1 -1
  118. data/lib/finnhub_ruby/models/similarity_index.rb +1 -1
  119. data/lib/finnhub_ruby/models/similarity_index_info.rb +1 -1
  120. data/lib/finnhub_ruby/models/social_sentiment.rb +1 -1
  121. data/lib/finnhub_ruby/models/split.rb +1 -1
  122. data/lib/finnhub_ruby/models/stock_candles.rb +1 -1
  123. data/lib/finnhub_ruby/models/stock_symbol.rb +1 -1
  124. data/lib/finnhub_ruby/models/stock_transcripts.rb +1 -1
  125. data/lib/finnhub_ruby/models/supply_chain_relationships.rb +1 -1
  126. data/lib/finnhub_ruby/models/support_resistance.rb +1 -1
  127. data/lib/finnhub_ruby/models/symbol_lookup.rb +1 -1
  128. data/lib/finnhub_ruby/models/symbol_lookup_info.rb +1 -1
  129. data/lib/finnhub_ruby/models/technical_analysis.rb +1 -1
  130. data/lib/finnhub_ruby/models/tick_data.rb +1 -1
  131. data/lib/finnhub_ruby/models/transactions.rb +12 -2
  132. data/lib/finnhub_ruby/models/transcript_content.rb +1 -1
  133. data/lib/finnhub_ruby/models/transcript_participant.rb +1 -1
  134. data/lib/finnhub_ruby/models/trend.rb +1 -1
  135. data/lib/finnhub_ruby/models/twitter_sentiment_content.rb +1 -1
  136. data/lib/finnhub_ruby/models/upgrade_downgrade.rb +1 -1
  137. data/lib/finnhub_ruby/version.rb +2 -2
  138. data/lib/finnhub_ruby.rb +9 -1
  139. data/release.sh +1 -1
  140. data/spec/api_client_spec.rb +1 -1
  141. data/spec/configuration_spec.rb +1 -1
  142. data/spec/models/company_earnings_quality_score_data_spec.rb +70 -0
  143. data/spec/models/company_earnings_quality_score_spec.rb +46 -0
  144. data/spec/models/company_esg_spec.rb +64 -0
  145. data/spec/models/crypto_profile_spec.rb +94 -0
  146. data/spec/models/ebit_estimates_info_spec.rb +58 -0
  147. data/spec/models/ebit_estimates_spec.rb +46 -0
  148. data/spec/models/ebitda_estimates_info_spec.rb +58 -0
  149. data/spec/models/ebitda_estimates_spec.rb +46 -0
  150. data/spec/spec_helper.rb +1 -1
  151. metadata +38 -2
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  module FinnhubRuby
14
- VERSION = '1.1.7'
14
+ VERSION = '1.1.11'
15
15
  end
data/lib/finnhub_ruby.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
@@ -21,6 +21,9 @@ require 'finnhub_ruby/models/aggregate_indicators'
21
21
  require 'finnhub_ruby/models/basic_financials'
22
22
  require 'finnhub_ruby/models/breakdown_item'
23
23
  require 'finnhub_ruby/models/company'
24
+ require 'finnhub_ruby/models/company_esg'
25
+ require 'finnhub_ruby/models/company_earnings_quality_score'
26
+ require 'finnhub_ruby/models/company_earnings_quality_score_data'
24
27
  require 'finnhub_ruby/models/company_executive'
25
28
  require 'finnhub_ruby/models/company_news'
26
29
  require 'finnhub_ruby/models/company_news_statistics'
@@ -29,6 +32,7 @@ require 'finnhub_ruby/models/company_profile2'
29
32
  require 'finnhub_ruby/models/country_metadata'
30
33
  require 'finnhub_ruby/models/covid_info'
31
34
  require 'finnhub_ruby/models/crypto_candles'
35
+ require 'finnhub_ruby/models/crypto_profile'
32
36
  require 'finnhub_ruby/models/crypto_symbol'
33
37
  require 'finnhub_ruby/models/development'
34
38
  require 'finnhub_ruby/models/dividends'
@@ -49,6 +53,10 @@ require 'finnhub_ruby/models/earnings_call_transcripts'
49
53
  require 'finnhub_ruby/models/earnings_call_transcripts_list'
50
54
  require 'finnhub_ruby/models/earnings_estimates'
51
55
  require 'finnhub_ruby/models/earnings_estimates_info'
56
+ require 'finnhub_ruby/models/ebit_estimates'
57
+ require 'finnhub_ruby/models/ebit_estimates_info'
58
+ require 'finnhub_ruby/models/ebitda_estimates'
59
+ require 'finnhub_ruby/models/ebitda_estimates_info'
52
60
  require 'finnhub_ruby/models/economic_calendar'
53
61
  require 'finnhub_ruby/models/economic_code'
54
62
  require 'finnhub_ruby/models/economic_data'
data/release.sh CHANGED
@@ -6,7 +6,7 @@ fi
6
6
 
7
7
  read -p "Remember to add :followlocation => true to api_client.rb?" yn
8
8
  case $yn in
9
- [Yy]* ) gem build finnhub_ruby.gemspec; gem push finnhub_ruby-$1.gem; break;;
9
+ [Yy]* ) gem build finnhub_ruby.gemspec; gem push finnhub_ruby-$1.gem; git add -A; git commit -m "update v$1"; git push; break;;
10
10
  [Nn]* ) exit;;
11
11
  * ) echo "Please answer yes or no.";;
12
12
  esac
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::CompanyEarningsQualityScoreData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::CompanyEarningsQualityScoreData do
21
+ let(:instance) { FinnhubRuby::CompanyEarningsQualityScoreData.new }
22
+
23
+ describe 'test an instance of CompanyEarningsQualityScoreData' do
24
+ it 'should create an instance of CompanyEarningsQualityScoreData' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::CompanyEarningsQualityScoreData)
26
+ end
27
+ end
28
+ describe 'test attribute "period"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "growth"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "profitability"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "cash_generation_capital_allocation"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "leverage"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "score"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "letter_score"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::CompanyEarningsQualityScore
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::CompanyEarningsQualityScore do
21
+ let(:instance) { FinnhubRuby::CompanyEarningsQualityScore.new }
22
+
23
+ describe 'test an instance of CompanyEarningsQualityScore' do
24
+ it 'should create an instance of CompanyEarningsQualityScore' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::CompanyEarningsQualityScore)
26
+ end
27
+ end
28
+ describe 'test attribute "symbol"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "freq"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "data"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,64 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::CompanyESG
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::CompanyESG do
21
+ let(:instance) { FinnhubRuby::CompanyESG.new }
22
+
23
+ describe 'test an instance of CompanyESG' do
24
+ it 'should create an instance of CompanyESG' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::CompanyESG)
26
+ end
27
+ end
28
+ describe 'test attribute "symbol"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "total_esg_score"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "environment_score"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "governance_score"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "social_score"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "data"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ end
@@ -0,0 +1,94 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::CryptoProfile
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::CryptoProfile do
21
+ let(:instance) { FinnhubRuby::CryptoProfile.new }
22
+
23
+ describe 'test an instance of CryptoProfile' do
24
+ it 'should create an instance of CryptoProfile' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::CryptoProfile)
26
+ end
27
+ end
28
+ describe 'test attribute "long_name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "name"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "description"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "website"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "market_cap"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "total_supply"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "max_supply"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "circulating_supply"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "logo"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "launch_date"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "proof_type"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::EbitEstimatesInfo
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::EbitEstimatesInfo do
21
+ let(:instance) { FinnhubRuby::EbitEstimatesInfo.new }
22
+
23
+ describe 'test an instance of EbitEstimatesInfo' do
24
+ it 'should create an instance of EbitEstimatesInfo' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::EbitEstimatesInfo)
26
+ end
27
+ end
28
+ describe 'test attribute "ebit_avg"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "ebit_high"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "ebit_low"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "number_analysts"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "period"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::EbitEstimates
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::EbitEstimates do
21
+ let(:instance) { FinnhubRuby::EbitEstimates.new }
22
+
23
+ describe 'test an instance of EbitEstimates' do
24
+ it 'should create an instance of EbitEstimates' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::EbitEstimates)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "freq"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "symbol"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::EbitdaEstimatesInfo
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::EbitdaEstimatesInfo do
21
+ let(:instance) { FinnhubRuby::EbitdaEstimatesInfo.new }
22
+
23
+ describe 'test an instance of EbitdaEstimatesInfo' do
24
+ it 'should create an instance of EbitdaEstimatesInfo' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::EbitdaEstimatesInfo)
26
+ end
27
+ end
28
+ describe 'test attribute "ebitda_avg"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "ebitda_high"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "ebitda_low"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "number_analysts"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "period"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::EbitdaEstimates
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::EbitdaEstimates do
21
+ let(:instance) { FinnhubRuby::EbitdaEstimates.new }
22
+
23
+ describe 'test an instance of EbitdaEstimates' do
24
+ it 'should create an instance of EbitdaEstimates' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::EbitdaEstimates)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "freq"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "symbol"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12