DealMakerAPI 0.97.4 → 0.97.5
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/README.md +4 -4
- data/docs/InvestorApi.md +7 -8
- data/lib/DealMakerAPI/api/investor_api.rb +5 -7
- data/lib/DealMakerAPI/version.rb +1 -1
- data/spec/api/investor_api_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aec3c144c9ad979a5ed1529aab3e6252bc6c356f5d1eaa3838a2f91f3f2ceada
|
4
|
+
data.tar.gz: ff184160d0e0ae6f4363c02ba197ec8282e597eb814ed13fd51989cbd202b182
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67c072294d8b44877a8cc9011bedb95751dcab7012c92ec34e6e634b9ee3b330c21d6f2421c91bfe3f3bf42908f01bdc2154025a492773788fc68ad532b4ea1c
|
7
|
+
data.tar.gz: e0463b476669d0a8a655a1a7c812ee1a4a90faaeffd9db209c4de70d1b7e20854163a9f9c891ed6f9ac0a8f212871246a6e05e0f79661ce961a7eea3e6aaeb26
|
data/README.md
CHANGED
@@ -338,7 +338,7 @@ Given the high number of updates our platform performs on any investor, we’ve
|
|
338
338
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
339
339
|
|
340
340
|
- API version: 1.75.0
|
341
|
-
- Package version: 0.97.
|
341
|
+
- Package version: 0.97.5
|
342
342
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
343
343
|
|
344
344
|
## Installation
|
@@ -354,16 +354,16 @@ gem build DealMakerAPI.gemspec
|
|
354
354
|
Then either install the gem locally:
|
355
355
|
|
356
356
|
```shell
|
357
|
-
gem install ./DealMakerAPI-0.97.
|
357
|
+
gem install ./DealMakerAPI-0.97.5.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.97.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.97.5.gem` to install the development dependencies)
|
361
361
|
|
362
362
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
363
363
|
|
364
364
|
Finally add this to the Gemfile:
|
365
365
|
|
366
|
-
gem 'DealMakerAPI', '~> 0.97.
|
366
|
+
gem 'DealMakerAPI', '~> 0.97.5'
|
367
367
|
|
368
368
|
### Install from Git
|
369
369
|
|
data/docs/InvestorApi.md
CHANGED
@@ -927,7 +927,7 @@ No authorization required
|
|
927
927
|
|
928
928
|
## run_background_search
|
929
929
|
|
930
|
-
>
|
930
|
+
> run_background_search(id, investor_id, run_background_search_request)
|
931
931
|
|
932
932
|
Run Alloy background search for the investor
|
933
933
|
|
@@ -946,8 +946,7 @@ run_background_search_request = DealMakerAPI::RunBackgroundSearchRequest.new({se
|
|
946
946
|
|
947
947
|
begin
|
948
948
|
# Run Alloy background search for the investor
|
949
|
-
|
950
|
-
p result
|
949
|
+
api_instance.run_background_search(id, investor_id, run_background_search_request)
|
951
950
|
rescue DealMakerAPI::ApiError => e
|
952
951
|
puts "Error when calling InvestorApi->run_background_search: #{e}"
|
953
952
|
end
|
@@ -955,9 +954,9 @@ end
|
|
955
954
|
|
956
955
|
#### Using the run_background_search_with_http_info variant
|
957
956
|
|
958
|
-
This returns an Array which contains the response data, status code and headers.
|
957
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
959
958
|
|
960
|
-
> <Array(
|
959
|
+
> <Array(nil, Integer, Hash)> run_background_search_with_http_info(id, investor_id, run_background_search_request)
|
961
960
|
|
962
961
|
```ruby
|
963
962
|
begin
|
@@ -965,7 +964,7 @@ begin
|
|
965
964
|
data, status_code, headers = api_instance.run_background_search_with_http_info(id, investor_id, run_background_search_request)
|
966
965
|
p status_code # => 2xx
|
967
966
|
p headers # => { ... }
|
968
|
-
p data # =>
|
967
|
+
p data # => nil
|
969
968
|
rescue DealMakerAPI::ApiError => e
|
970
969
|
puts "Error when calling InvestorApi->run_background_search_with_http_info: #{e}"
|
971
970
|
end
|
@@ -981,7 +980,7 @@ end
|
|
981
980
|
|
982
981
|
### Return type
|
983
982
|
|
984
|
-
|
983
|
+
nil (empty response body)
|
985
984
|
|
986
985
|
### Authorization
|
987
986
|
|
@@ -990,7 +989,7 @@ No authorization required
|
|
990
989
|
### HTTP request headers
|
991
990
|
|
992
991
|
- **Content-Type**: application/json
|
993
|
-
- **Accept**:
|
992
|
+
- **Accept**: Not defined
|
994
993
|
|
995
994
|
|
996
995
|
## update_investor
|
@@ -993,10 +993,10 @@ module DealMakerAPI
|
|
993
993
|
# @param investor_id [Integer]
|
994
994
|
# @param run_background_search_request [RunBackgroundSearchRequest]
|
995
995
|
# @param [Hash] opts the optional parameters
|
996
|
-
# @return [
|
996
|
+
# @return [nil]
|
997
997
|
def run_background_search(id, investor_id, run_background_search_request, opts = {})
|
998
|
-
|
999
|
-
|
998
|
+
run_background_search_with_http_info(id, investor_id, run_background_search_request, opts)
|
999
|
+
nil
|
1000
1000
|
end
|
1001
1001
|
|
1002
1002
|
# Run Alloy background search for the investor
|
@@ -1005,7 +1005,7 @@ module DealMakerAPI
|
|
1005
1005
|
# @param investor_id [Integer]
|
1006
1006
|
# @param run_background_search_request [RunBackgroundSearchRequest]
|
1007
1007
|
# @param [Hash] opts the optional parameters
|
1008
|
-
# @return [Array<(
|
1008
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1009
1009
|
def run_background_search_with_http_info(id, investor_id, run_background_search_request, opts = {})
|
1010
1010
|
if @api_client.config.debugging
|
1011
1011
|
@api_client.config.logger.debug 'Calling API: InvestorApi.run_background_search ...'
|
@@ -1030,8 +1030,6 @@ module DealMakerAPI
|
|
1030
1030
|
|
1031
1031
|
# header parameters
|
1032
1032
|
header_params = opts[:header_params] || {}
|
1033
|
-
# HTTP header 'Accept' (if needed)
|
1034
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1035
1033
|
# HTTP header 'Content-Type'
|
1036
1034
|
content_type = @api_client.select_header_content_type(['application/json'])
|
1037
1035
|
if !content_type.nil?
|
@@ -1045,7 +1043,7 @@ module DealMakerAPI
|
|
1045
1043
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(run_background_search_request)
|
1046
1044
|
|
1047
1045
|
# return_type
|
1048
|
-
return_type = opts[:debug_return_type]
|
1046
|
+
return_type = opts[:debug_return_type]
|
1049
1047
|
|
1050
1048
|
# auth_names
|
1051
1049
|
auth_names = opts[:debug_auth_names] || []
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -218,7 +218,7 @@ describe 'InvestorApi' do
|
|
218
218
|
# @param investor_id
|
219
219
|
# @param run_background_search_request
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
|
-
# @return [
|
221
|
+
# @return [nil]
|
222
222
|
describe 'run_background_search test' do
|
223
223
|
it 'should work' do
|
224
224
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DealMakerAPI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.97.
|
4
|
+
version: 0.97.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|