intrinio-sdk 5.13.1 → 5.13.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd475f8d6e1339582f4cc3e43f98a91ecaeefab58b05c87e22a5a5f6b6054a46
4
- data.tar.gz: c3b40b9d23c0eaa1a8c1d7cc8d595fcaeb701e3695e959a8fbe35c9f2774dde9
3
+ metadata.gz: e28e1f2e84547e219bc63b711f1f01c7655091f5283e60b0d6f4412bfe542a16
4
+ data.tar.gz: c525da09f9e716feb363b38ca5bb20ef9e8c387eb1b3396db545c0203a49f268
5
5
  SHA512:
6
- metadata.gz: 2db6f60ca2a27e023d21735f91dd8e8714f40e606e46e32425171b51eb652d7d620990afae20489f2ecf93372816106dee8d1eb93308a045c4b0a0bf91769b30
7
- data.tar.gz: e3ac10f780b7c5c2101e4d7cabbaab75ddcdf83a304a290d24dd54f22edca3e4f4d8e8778c8b09b5dea9bec9b7a2417bafdd0dd9573ed8bf8c0912d9a383d409
6
+ metadata.gz: b5c08da9d571ff3c77bbd8992b757c91ccb6e0b4c54be893b78d03e802d1e7705202e6c42b3a056c8d285e3c5125e19c1ceb36968a41d4c27a51e1e64d4f05d3
7
+ data.tar.gz: 0a3417e15497d356455539fc3c1e6ab1f2929fab1aeb192a9580d3a21e2802b52530eb474568d64af9b7fd343085fb44000a86a0877dfa965bc547d5e600dd83
data/README.md CHANGED
@@ -9,7 +9,7 @@ Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a
9
9
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
10
10
 
11
11
  - API version: 2.23.0
12
- - Package version: 5.13.1
12
+ - Package version: 5.13.2
13
13
 
14
14
 
15
15
  ## Installation
@@ -15,6 +15,7 @@ Name | Type | Description
15
15
  **source** | String | The organziation the answer data was sourced from  
16
16
  **query** | String | The query posed to the Thea API  
17
17
  **answers** | [**Array<TheaEntityAnswer>**](TheaEntityAnswer.md) |  
18
+ **companies** | [**Array<CompanySummary>**](CompanySummary.md) |  
18
19
 
19
20
  [//]: # (END_DEFINITION)
20
21
 
@@ -22,4 +23,7 @@ Name | Type | Description
22
23
  [//]: # (CONTAINED_CLASS:Intrinio::TheaEntityAnswer)
23
24
 
24
25
 
26
+ [//]: # (CONTAINED_CLASS:Intrinio::CompanySummary)
27
+
28
+
25
29
 
data/docs/CompanyApi.md CHANGED
@@ -332,7 +332,7 @@ end
332
332
 
333
333
  company_api = Intrinio::CompanyApi.new
334
334
  identifier = "AAPL"
335
- query = "Where is the company headquartered?"
335
+ query = "What do they believe in?"
336
336
 
337
337
  result = company_api.get_company_answers(identifier, query)
338
338
  pp result
@@ -23,13 +23,16 @@ module Intrinio
23
23
 
24
24
  attr_accessor :answers
25
25
 
26
+ attr_accessor :companies
27
+
26
28
 
27
29
  # Attribute mapping from ruby-style variable name to JSON key.
28
30
  def self.attribute_map
29
31
  {
30
32
  :'source' => :'source',
31
33
  :'query' => :'query',
32
- :'answers' => :'answers'
34
+ :'answers' => :'answers',
35
+ :'companies' => :'companies'
33
36
  }
34
37
  end
35
38
 
@@ -38,7 +41,8 @@ module Intrinio
38
41
  {
39
42
  :'source' => :'String',
40
43
  :'query' => :'String',
41
- :'answers' => :'Array<TheaEntityAnswer>'
44
+ :'answers' => :'Array<TheaEntityAnswer>',
45
+ :'companies' => :'Array<CompanySummary>'
42
46
  }
43
47
  end
44
48
 
@@ -64,6 +68,12 @@ module Intrinio
64
68
  end
65
69
  end
66
70
 
71
+ if attributes.has_key?(:'companies')
72
+ if (value = attributes[:'companies']).is_a?(Array)
73
+ self.companies = value
74
+ end
75
+ end
76
+
67
77
  end
68
78
 
69
79
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -86,7 +96,8 @@ module Intrinio
86
96
  self.class == o.class &&
87
97
  source == o.source &&
88
98
  query == o.query &&
89
- answers == o.answers
99
+ answers == o.answers &&
100
+ companies == o.companies
90
101
  end
91
102
 
92
103
  # @see the `==` method
@@ -98,7 +109,7 @@ module Intrinio
98
109
  # Calculates hash code according to all attributes.
99
110
  # @return [Fixnum] Hash code
100
111
  def hash
101
- [source, query, answers].hash
112
+ [source, query, answers, companies].hash
102
113
  end
103
114
 
104
115
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: unset
11
11
  =end
12
12
 
13
13
  module Intrinio
14
- VERSION = "5.13.1"
14
+ VERSION = "5.13.2"
15
15
  end
@@ -50,5 +50,11 @@ describe 'ApiResponseCompanyAnswers' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "companies"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  end
54
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intrinio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.13.1
4
+ version: 5.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Intrinio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-10 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus