finnhub_ruby 1.1.14 → 1.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/BondCandles.md +22 -0
- data/docs/BondProfile.md +58 -0
- data/docs/DefaultApi.md +230 -0
- data/docs/LobbyingData.md +46 -0
- data/docs/LobbyingResult.md +20 -0
- data/finnhub_ruby-1.1.14.gem +0 -0
- data/lib/finnhub_ruby/api/default_api.rb +222 -0
- data/lib/finnhub_ruby/models/bond_candles.rb +243 -0
- data/lib/finnhub_ruby/models/bond_profile.rb +419 -0
- data/lib/finnhub_ruby/models/lobbying_data.rb +359 -0
- data/lib/finnhub_ruby/models/lobbying_result.rb +231 -0
- data/lib/finnhub_ruby/version.rb +1 -1
- data/lib/finnhub_ruby.rb +4 -0
- data/spec/models/bond_candles_spec.rb +46 -0
- data/spec/models/bond_profile_spec.rb +154 -0
- data/spec/models/lobbying_data_spec.rb +118 -0
- data/spec/models/lobbying_result_spec.rb +40 -0
- metadata +19 -2
@@ -0,0 +1,154 @@
|
|
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::BondProfile
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FinnhubRuby::BondProfile do
|
21
|
+
let(:instance) { FinnhubRuby::BondProfile.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BondProfile' do
|
24
|
+
it 'should create an instance of BondProfile' do
|
25
|
+
expect(instance).to be_instance_of(FinnhubRuby::BondProfile)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "isin"' 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 "cusip"' 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 "figi"' 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 "coupon"' 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 "maturity_date"' 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 "offering_price"' 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 "issue_date"' 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 "bond_type"' 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 "debt_type"' 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 "industry_group"' 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 "industry_sub_group"' 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
|
+
describe 'test attribute "asset"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "asset_type"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "dated_date"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "first_coupon_date"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "original_offering"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
describe 'test attribute "amount_outstanding"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "payment_frequency"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "security_level"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "callable"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "coupon_type"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
end
|
@@ -0,0 +1,118 @@
|
|
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::LobbyingData
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FinnhubRuby::LobbyingData do
|
21
|
+
let(:instance) { FinnhubRuby::LobbyingData.new }
|
22
|
+
|
23
|
+
describe 'test an instance of LobbyingData' do
|
24
|
+
it 'should create an instance of LobbyingData' do
|
25
|
+
expect(instance).to be_instance_of(FinnhubRuby::LobbyingData)
|
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 "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 "country"' 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 "year"' 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 "period"' 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 "income"' 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 "expenses"' 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 "document_url"' 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 "posted_name"' 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 "date"' 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
|
+
describe 'test attribute "client_id"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "registrant_id"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "senate_id"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "houseregistrant_id"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
end
|
@@ -0,0 +1,40 @@
|
|
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::LobbyingResult
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FinnhubRuby::LobbyingResult do
|
21
|
+
let(:instance) { FinnhubRuby::LobbyingResult.new }
|
22
|
+
|
23
|
+
describe 'test an instance of LobbyingResult' do
|
24
|
+
it 'should create an instance of LobbyingResult' do
|
25
|
+
expect(instance).to be_instance_of(FinnhubRuby::LobbyingResult)
|
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 "data"' 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
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finnhub_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -63,6 +63,8 @@ files:
|
|
63
63
|
- Rakefile
|
64
64
|
- docs/AggregateIndicators.md
|
65
65
|
- docs/BasicFinancials.md
|
66
|
+
- docs/BondCandles.md
|
67
|
+
- docs/BondProfile.md
|
66
68
|
- docs/BreakdownItem.md
|
67
69
|
- docs/Company.md
|
68
70
|
- docs/CompanyESG.md
|
@@ -134,6 +136,8 @@ files:
|
|
134
136
|
- docs/InvestmentThemes.md
|
135
137
|
- docs/KeyCustomersSuppliers.md
|
136
138
|
- docs/LastBidAsk.md
|
139
|
+
- docs/LobbyingData.md
|
140
|
+
- docs/LobbyingResult.md
|
137
141
|
- docs/MarketNews.md
|
138
142
|
- docs/MutualFundCountryExposure.md
|
139
143
|
- docs/MutualFundCountryExposureData.md
|
@@ -185,6 +189,7 @@ files:
|
|
185
189
|
- finnhub_ruby-1.1.11.gem
|
186
190
|
- finnhub_ruby-1.1.12.gem
|
187
191
|
- finnhub_ruby-1.1.13.gem
|
192
|
+
- finnhub_ruby-1.1.14.gem
|
188
193
|
- finnhub_ruby-1.1.7.gem
|
189
194
|
- finnhub_ruby-1.1.8.gem
|
190
195
|
- finnhub_ruby-1.1.9.gem
|
@@ -197,6 +202,8 @@ files:
|
|
197
202
|
- lib/finnhub_ruby/configuration.rb
|
198
203
|
- lib/finnhub_ruby/models/aggregate_indicators.rb
|
199
204
|
- lib/finnhub_ruby/models/basic_financials.rb
|
205
|
+
- lib/finnhub_ruby/models/bond_candles.rb
|
206
|
+
- lib/finnhub_ruby/models/bond_profile.rb
|
200
207
|
- lib/finnhub_ruby/models/breakdown_item.rb
|
201
208
|
- lib/finnhub_ruby/models/company.rb
|
202
209
|
- lib/finnhub_ruby/models/company_earnings_quality_score.rb
|
@@ -275,6 +282,8 @@ files:
|
|
275
282
|
- lib/finnhub_ruby/models/ipo_event.rb
|
276
283
|
- lib/finnhub_ruby/models/key_customers_suppliers.rb
|
277
284
|
- lib/finnhub_ruby/models/last_bid_ask.rb
|
285
|
+
- lib/finnhub_ruby/models/lobbying_data.rb
|
286
|
+
- lib/finnhub_ruby/models/lobbying_result.rb
|
278
287
|
- lib/finnhub_ruby/models/major_developments.rb
|
279
288
|
- lib/finnhub_ruby/models/major_press_releases.rb
|
280
289
|
- lib/finnhub_ruby/models/market_news.rb
|
@@ -336,6 +345,8 @@ files:
|
|
336
345
|
- spec/configuration_spec.rb
|
337
346
|
- spec/models/aggregate_indicators_spec.rb
|
338
347
|
- spec/models/basic_financials_spec.rb
|
348
|
+
- spec/models/bond_candles_spec.rb
|
349
|
+
- spec/models/bond_profile_spec.rb
|
339
350
|
- spec/models/breakdown_item_spec.rb
|
340
351
|
- spec/models/company_earnings_quality_score_data_spec.rb
|
341
352
|
- spec/models/company_earnings_quality_score_spec.rb
|
@@ -406,6 +417,8 @@ files:
|
|
406
417
|
- spec/models/ipo_event_spec.rb
|
407
418
|
- spec/models/key_customers_suppliers_spec.rb
|
408
419
|
- spec/models/last_bid_ask_spec.rb
|
420
|
+
- spec/models/lobbying_data_spec.rb
|
421
|
+
- spec/models/lobbying_result_spec.rb
|
409
422
|
- spec/models/market_news_spec.rb
|
410
423
|
- spec/models/mutual_fund_country_exposure_data_spec.rb
|
411
424
|
- spec/models/mutual_fund_country_exposure_spec.rb
|
@@ -482,6 +495,7 @@ test_files:
|
|
482
495
|
- spec/api_client_spec.rb
|
483
496
|
- spec/configuration_spec.rb
|
484
497
|
- spec/models/support_resistance_spec.rb
|
498
|
+
- spec/models/lobbying_result_spec.rb
|
485
499
|
- spec/models/mutual_fund_sector_exposure_spec.rb
|
486
500
|
- spec/models/economic_calendar_spec.rb
|
487
501
|
- spec/models/visa_application_spec.rb
|
@@ -493,6 +507,7 @@ test_files:
|
|
493
507
|
- spec/models/etf_holdings_data_spec.rb
|
494
508
|
- spec/models/stock_transcripts_spec.rb
|
495
509
|
- spec/models/ebit_estimates_info_spec.rb
|
510
|
+
- spec/models/bond_profile_spec.rb
|
496
511
|
- spec/models/development_spec.rb
|
497
512
|
- spec/models/social_sentiment_spec.rb
|
498
513
|
- spec/models/company_news_statistics_spec.rb
|
@@ -526,6 +541,7 @@ test_files:
|
|
526
541
|
- spec/models/forex_symbol_spec.rb
|
527
542
|
- spec/models/key_customers_suppliers_spec.rb
|
528
543
|
- spec/models/symbol_lookup_info_spec.rb
|
544
|
+
- spec/models/lobbying_data_spec.rb
|
529
545
|
- spec/models/mutual_fund_sector_exposure_data_spec.rb
|
530
546
|
- spec/models/earning_estimate_spec.rb
|
531
547
|
- spec/models/company_executive_spec.rb
|
@@ -540,6 +556,7 @@ test_files:
|
|
540
556
|
- spec/models/aggregate_indicators_spec.rb
|
541
557
|
- spec/models/similarity_index_spec.rb
|
542
558
|
- spec/models/visa_application_result_spec.rb
|
559
|
+
- spec/models/bond_candles_spec.rb
|
543
560
|
- spec/models/etf_profile_data_spec.rb
|
544
561
|
- spec/models/country_metadata_spec.rb
|
545
562
|
- spec/models/news_sentiment_spec.rb
|