DealMakerAPI 0.97.4 → 0.98.0
Sign up to get free protection for your applications and to get access to all the features.
- 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: 7a3b3a2cbc927c9f277a16f14ca9b19179bf476ff8d327ecb34a414786bc49d7
|
4
|
+
data.tar.gz: 77e3ed48cea2d94016018ca7b86ff9d2fdf95493e9d728479182f71b42b20a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d08687294570811791dc60f76fa32252ee76aed8097d6f35476a117c8c2ed1640f11831bf2eea615d49c38d90aca8c2daa15c7a87e27570e2558909096d532b8
|
7
|
+
data.tar.gz: 5e702dc35e4373c4a3c26f173ea4e91e7444ec529f846e9c4b46143db501bc857d2e15d69fd8f81119a192c6f0a3023a2c14f4b03a5f184d33d5ff3f8c28357d
|
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.
|
341
|
+
- Package version: 0.98.0
|
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.
|
357
|
+
gem install ./DealMakerAPI-0.98.0.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.98.0.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.
|
366
|
+
gem 'DealMakerAPI', '~> 0.98.0'
|
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.
|
4
|
+
version: 0.98.0
|
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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|