DealMakerAPI 0.68.6 → 0.68.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff239ee0070034a9d8469affbc9c6ae014f5c3b83dd552b2a8acdb40237211a0
4
- data.tar.gz: 719285d09f77c9a68be0b53e58f5f17c47089ae1631d49615f50624f86221f22
3
+ metadata.gz: 427f1049af0f2385911a0923644ba198fffddcf714649b50f141e35d3ac481c8
4
+ data.tar.gz: 6e0ac1ed76ad7638c2d41a3790de0b5a654a9c7fbfd851db49d629848a3a1812
5
5
  SHA512:
6
- metadata.gz: 14b2b9eeb9ce8e517cfaccd16b97b0962f6ffeefc823aad94a8f9584c9909297c1d021d0816e8879a27cde5533b32ae57b2b10b1ce25a198891c9212d03f936d
7
- data.tar.gz: 3374fa1d9ad425aed5caa67b095d124ec2bd8484c7f8647b94a1af688225c97b3a86a3ba4148870e9b78ca8a5a95169a11148b3bd58c78ce155785f3b81d3508
6
+ metadata.gz: d6f47703327f476d9849b98f1e47309e829b37a1b909107d81e599df326f31073fbf289ffe2978e351fc79369b8d8402e8f3abf9d292d1c3f495ac4baa68c156
7
+ data.tar.gz: cdec41ef4cd53fcfb2fcc3de7da2239aac6b3e6f092971cd41cc386a54d56d5ab3e42ca598e73a19718c2a25bf6cbfc7ecff4d656306619cb7a333fe58d6ba44
data/README.md CHANGED
@@ -313,7 +313,7 @@ Given the high number of updates our platform performs on any investor, we’ve
313
313
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
314
314
 
315
315
  - API version: 1.0.0
316
- - Package version: 0.68.6
316
+ - Package version: 0.68.7
317
317
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
318
318
 
319
319
  ## Installation
@@ -329,16 +329,16 @@ gem build DealMakerAPI.gemspec
329
329
  Then either install the gem locally:
330
330
 
331
331
  ```shell
332
- gem install ./DealMakerAPI-0.68.6.gem
332
+ gem install ./DealMakerAPI-0.68.7.gem
333
333
  ```
334
334
 
335
- (for development, run `gem install --dev ./DealMakerAPI-0.68.6.gem` to install the development dependencies)
335
+ (for development, run `gem install --dev ./DealMakerAPI-0.68.7.gem` to install the development dependencies)
336
336
 
337
337
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
338
338
 
339
339
  Finally add this to the Gemfile:
340
340
 
341
- gem 'DealMakerAPI', '~> 0.68.6'
341
+ gem 'DealMakerAPI', '~> 0.68.7'
342
342
 
343
343
  ### Install from Git
344
344
 
@@ -62,6 +62,11 @@ module DealMakerAPI
62
62
  # Defines the access token (Bearer) used with OAuth2.
63
63
  attr_accessor :access_token
64
64
 
65
+ # Defines a Proc used to fetch or refresh access tokens (Bearer) used with OAuth2.
66
+ # Overrides the access_token if set
67
+ # @return [Proc]
68
+ attr_accessor :access_token_getter
69
+
65
70
  # Set this to enable/disable debugging. When enabled (set to true), HTTP request/response
66
71
  # details will be logged with `logger.debug` (see the `logger` attribute).
67
72
  # Default to false.
@@ -208,6 +213,12 @@ module DealMakerAPI
208
213
  end
209
214
  end
210
215
 
216
+ # Gets access_token using access_token_getter or uses the static access_token
217
+ def access_token_with_refresh
218
+ return access_token if access_token_getter.nil?
219
+ access_token_getter.call
220
+ end
221
+
211
222
  # Gets Basic Auth token string
212
223
  def basic_auth_token
213
224
  'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module DealMakerAPI
14
- VERSION = '0.68.6'
14
+ VERSION = '0.68.7'
15
15
  end
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.68.6
4
+ version: 0.68.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - DealMaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-20 00:00:00.000000000 Z
11
+ date: 2023-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -262,62 +262,62 @@ signing_key:
262
262
  specification_version: 4
263
263
  summary: A ruby wrapper for the DealMaker API
264
264
  test_files:
265
- - spec/api/deal_api_spec.rb
266
265
  - spec/api/investor_api_spec.rb
267
- - spec/api/default_api_spec.rb
268
- - spec/api/deal_setup_api_spec.rb
269
266
  - spec/api/investor_profile_api_spec.rb
267
+ - spec/api/deal_setup_api_spec.rb
270
268
  - spec/api/company_api_spec.rb
269
+ - spec/api/default_api_spec.rb
270
+ - spec/api/deal_api_spec.rb
271
271
  - spec/api_client_spec.rb
272
272
  - spec/configuration_spec.rb
273
- - spec/models/v1_entities_company_spec.rb
274
- - spec/models/v1_entities_company_deal_spec.rb
275
- - spec/models/create_corporation_profile_request_spec.rb
276
- - spec/models/v1_entities_investor_profile_item_spec.rb
277
273
  - spec/models/v1_entities_investor_profile_fields_trust_spec.rb
278
- - spec/models/v1_entities_company_deals_spec.rb
279
- - spec/models/v1_entities_investors_spec.rb
280
- - spec/models/v1_entities_deal_issuer_spec.rb
281
- - spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb
282
- - spec/models/v1_entities_deal_enterprise_spec.rb
283
- - spec/models/v1_entities_investor_profile_fields_corporation_spec.rb
274
+ - spec/models/v1_entities_deal_spec.rb
275
+ - spec/models/v1_entities_investor_profile_item_spec.rb
276
+ - spec/models/v1_entities_deal_funding_metrics_spec.rb
277
+ - spec/models/create_company_request_spec.rb
278
+ - spec/models/v1_entities_address_spec.rb
279
+ - spec/models/v1_entities_investor_profile_joint_spec.rb
280
+ - spec/models/v1_entities_company_spec.rb
281
+ - spec/models/v1_entities_background_check_search_spec.rb
282
+ - spec/models/patch_corporation_profile_request_spec.rb
283
+ - spec/models/v1_entities_webhooks_deal_spec.rb
284
+ - spec/models/v1_entities_investor_spec.rb
284
285
  - spec/models/v1_entities_attachment_spec.rb
285
- - spec/models/patch_investor_request_spec.rb
286
+ - spec/models/v1_entities_investor_profiles_spec.rb
286
287
  - spec/models/create_joint_profile_request_spec.rb
287
- - spec/models/v1_entities_webhooks_subscription_deal_spec.rb
288
- - spec/models/v1_entities_deal_funding_metrics_spec.rb
288
+ - spec/models/v1_entities_webhooks_security_token_spec.rb
289
+ - spec/models/create_deal_setup_request_spec.rb
290
+ - spec/models/v1_entities_deals_spec.rb
291
+ - spec/models/v1_entities_investor_profile_fields_corporation_spec.rb
292
+ - spec/models/v1_entities_deal_enterprise_spec.rb
293
+ - spec/models/v1_entities_investors_spec.rb
294
+ - spec/models/v1_entities_investor_profile_address_spec.rb
289
295
  - spec/models/v1_entities_investor_user_spec.rb
296
+ - spec/models/v1_entities_deal_investor_metrics_spec.rb
297
+ - spec/models/v1_entities_addresses_spec.rb
298
+ - spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb
299
+ - spec/models/v1_entities_investor_profile_trust_spec.rb
300
+ - spec/models/patch_joint_profile_request_spec.rb
301
+ - spec/models/create_trust_profile_request_spec.rb
302
+ - spec/models/update_investor_request_spec.rb
303
+ - spec/models/v1_entities_webhooks_subscription_deal_spec.rb
304
+ - spec/models/v1_entities_deal_setup_spec.rb
305
+ - spec/models/patch_trust_profile_request_spec.rb
306
+ - spec/models/patch_investor_request_spec.rb
307
+ - spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb
308
+ - spec/models/create_individual_profile_request_spec.rb
290
309
  - spec/models/v1_entities_deal_setup_user_spec.rb
291
- - spec/models/v1_entities_investor_profiles_spec.rb
310
+ - spec/models/patch_individual_profile_request_spec.rb
311
+ - spec/models/create_investor_request_spec.rb
292
312
  - spec/models/put_webhooks_id_request_spec.rb
293
- - spec/models/v1_entities_deal_investor_metrics_spec.rb
294
313
  - spec/models/v1_entities_investor_profile_individual_spec.rb
295
- - spec/models/patch_corporation_profile_request_spec.rb
296
- - spec/models/patch_individual_profile_request_spec.rb
297
- - spec/models/v1_entities_subscription_agreement_spec.rb
298
- - spec/models/v1_entities_background_check_search_spec.rb
299
- - spec/models/v1_entities_deal_setup_spec.rb
300
314
  - spec/models/v1_entities_webhooks_subscription_deals_spec.rb
301
- - spec/models/v1_entities_webhooks_deal_spec.rb
302
- - spec/models/v1_entities_address_spec.rb
303
- - spec/models/create_investor_request_spec.rb
304
- - spec/models/create_individual_profile_request_spec.rb
315
+ - spec/models/v1_entities_deal_issuer_spec.rb
316
+ - spec/models/post_webhooks_request_spec.rb
317
+ - spec/models/v1_entities_company_deals_spec.rb
318
+ - spec/models/v1_entities_subscription_agreement_spec.rb
305
319
  - spec/models/v1_entities_webhooks_subscription_spec.rb
306
- - spec/models/v1_entities_investor_profile_address_spec.rb
307
- - spec/models/create_company_request_spec.rb
308
- - spec/models/v1_entities_deal_spec.rb
309
- - spec/models/patch_trust_profile_request_spec.rb
320
+ - spec/models/v1_entities_company_deal_spec.rb
310
321
  - spec/models/v1_entities_investor_profile_corporation_spec.rb
311
- - spec/models/post_webhooks_request_spec.rb
312
- - spec/models/v1_entities_deals_spec.rb
313
- - spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb
314
- - spec/models/v1_entities_webhooks_security_token_spec.rb
315
- - spec/models/v1_entities_investor_spec.rb
316
- - spec/models/patch_joint_profile_request_spec.rb
317
- - spec/models/create_trust_profile_request_spec.rb
318
- - spec/models/v1_entities_investor_profile_trust_spec.rb
319
- - spec/models/update_investor_request_spec.rb
320
- - spec/models/create_deal_setup_request_spec.rb
321
- - spec/models/v1_entities_addresses_spec.rb
322
- - spec/models/v1_entities_investor_profile_joint_spec.rb
322
+ - spec/models/create_corporation_profile_request_spec.rb
323
323
  - spec/spec_helper.rb