DealMakerAPI 0.88.2 → 0.88.4

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: 93e5adda2a6d5b72424dca6de26ea13e8b6678e84298c4931c17662283089957
4
- data.tar.gz: 2e153849cd1d5da2e21a5c549a2f2db3ca4083950017cda8897c1516e40d4c71
3
+ metadata.gz: 58b35b1158f5cc0748eeea3f6dc353c5383c297db2e243bd486d112ac99f34a3
4
+ data.tar.gz: 26948c085409167decad23fa3d18e673cea880e1b0c4c7f5a0d77e92c4d26610
5
5
  SHA512:
6
- metadata.gz: 2da04e7372992b3967552f706164f3d118e8868aeec9cecbe0ec1d3dc40939f58f21ad896aef620320afe01047c209daad9f1e763d932052531646ec0424d92b
7
- data.tar.gz: 9e1e2058085d9b132a6604df2582e344c2c41fcb7bf158ba436c54136a50f957ed900b8173068735ce859d7dbc897f4cef368236ea9c7a17bc3f7252dcf36a7a
6
+ metadata.gz: afc57e69989e30bdd320f33d576a8c49f588592bbdb6800fea6596e29405ca88d6308c7720f09d0912ee605dfea46ac68d297c0ebae9f3bb2cd937c3c186d48c
7
+ data.tar.gz: e0ca5e57db2e016af1e911c3b2d84061cc217de9d3a48512ccd91b84e93f5d737d3f9185659353dcd829e599a53c4634edbe12e4d609b2270a5415fd152e0717
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.88.2
341
+ - Package version: 0.88.4
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.88.2.gem
357
+ gem install ./DealMakerAPI-0.88.4.gem
358
358
  ```
359
359
 
360
- (for development, run `gem install --dev ./DealMakerAPI-0.88.2.gem` to install the development dependencies)
360
+ (for development, run `gem install --dev ./DealMakerAPI-0.88.4.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.88.2'
366
+ gem 'DealMakerAPI', '~> 0.88.4'
367
367
 
368
368
  ### Install from Git
369
369
 
@@ -17,6 +17,7 @@ require 'tempfile'
17
17
  require 'time'
18
18
  require 'typhoeus'
19
19
 
20
+
20
21
  module DealMakerAPI
21
22
  class ApiClient
22
23
  # The Configuration object holding settings to be used in the API client.
@@ -221,7 +222,7 @@ module DealMakerAPI
221
222
  return nil if body.nil? || body.empty?
222
223
 
223
224
  # return response body directly for String return type
224
- return body if return_type == 'String'
225
+ return body.to_s if return_type == 'String'
225
226
 
226
227
  # ensuring a default content type
227
228
  content_type = response.headers['Content-Type'] || 'application/json'
@@ -286,5 +286,6 @@ module DealMakerAPI
286
286
  url
287
287
  end
288
288
 
289
+
289
290
  end
290
291
  end
@@ -329,7 +329,7 @@ module DealMakerAPI
329
329
  warn '[DEPRECATED] the `valid?` method is obsolete'
330
330
  allocation_unit_validator = EnumAttributeValidator.new('String', ["securities", "amount"])
331
331
  return false unless allocation_unit_validator.valid?(@allocation_unit)
332
- state_validator = EnumAttributeValidator.new('String', ["draft", "invited", "cosigning", "signed", "waiting", "accepted", "inactive"])
332
+ state_validator = EnumAttributeValidator.new('String', ["draft", "invited", "cosigning", "signed", "waiting", "accepted", "inactive", "processing_countersign"])
333
333
  return false unless state_validator.valid?(@state)
334
334
  funding_state_validator = EnumAttributeValidator.new('String', ["unfunded", "underfunded", "funded", "overfunded"])
335
335
  return false unless funding_state_validator.valid?(@funding_state)
@@ -351,7 +351,7 @@ module DealMakerAPI
351
351
  # Custom attribute writer method checking allowed values (enum).
352
352
  # @param [Object] state Object to be assigned
353
353
  def state=(state)
354
- validator = EnumAttributeValidator.new('String', ["draft", "invited", "cosigning", "signed", "waiting", "accepted", "inactive"])
354
+ validator = EnumAttributeValidator.new('String', ["draft", "invited", "cosigning", "signed", "waiting", "accepted", "inactive", "processing_countersign"])
355
355
  unless validator.valid?(state)
356
356
  fail ArgumentError, "invalid value for \"state\", must be one of #{validator.allowable_values}."
357
357
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.1.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module DealMakerAPI
14
- VERSION = '0.88.2'
14
+ VERSION = '0.88.4'
15
15
  end
@@ -70,7 +70,7 @@ describe DealMakerAPI::V1EntitiesInvestor do
70
70
  describe 'test attribute "state"' do
71
71
  it 'should work' do
72
72
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["draft", "invited", "cosigning", "signed", "waiting", "accepted", "inactive"])
73
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["draft", "invited", "cosigning", "signed", "waiting", "accepted", "inactive", "processing_countersign"])
74
74
  # validator.allowable_values.each do |value|
75
75
  # expect { instance.state = value }.not_to raise_error
76
76
  # 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.88.2
4
+ version: 0.88.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - DealMaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-03 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus