DealMakerAPI 0.97.1 → 0.97.3

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: 146b9a995a10468a0404ffa8e2a4ce15cbf07426b1f2336f4933dedfaa4cbc4d
4
- data.tar.gz: 50f4755bb39d3db5aef73fdfebe3d5bf5a1fcc16ec7637272563fd2b7ef898c8
3
+ metadata.gz: 1177b3639c23dad5bfa1f2cde8f424b51223e8e9f5e81bad3f5aa5d80470f347
4
+ data.tar.gz: 1314786d5f0e39bf1d79c183cd7bd89cd7c427f310a3fcd1feb2bc42de7b695a
5
5
  SHA512:
6
- metadata.gz: c6832bd6939bec7372bcf7d7bf2ede182817b6d6411034356a8bfa9f305f9adf404a9c7f1f666dbcdabc67eb26c25888daed584bcf2ac6b0bc5388f892b0d056
7
- data.tar.gz: badfde9c867cdcfffeefe80b9d674307168f6205ab224b815a9705abc25dfa94dad81b625adcfc6a024bdc3d647dcb7211c7c2b6920d78f933c8e5e6f8111cda
6
+ metadata.gz: cb5821b6904bf8932010a4410a02be08bfd64fd97d5f929a319d6eda3c5338986c9b1a2654eed7de2f0f7c80bfd60d8b5db21c30b23af499725ea5711ac86670
7
+ data.tar.gz: ba712a1a1848d2cc554ba59961ac0f1fc78e02fe5463c0ffe6d45090128dff7fef62463a0ebe7f226afb77ce1b61a5aec0741b9581f9368f4acab2ada0b6a448
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.1
341
+ - Package version: 0.97.3
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.1.gem
357
+ gem install ./DealMakerAPI-0.97.3.gem
358
358
  ```
359
359
 
360
- (for development, run `gem install --dev ./DealMakerAPI-0.97.1.gem` to install the development dependencies)
360
+ (for development, run `gem install --dev ./DealMakerAPI-0.97.3.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.1'
366
+ gem 'DealMakerAPI', '~> 0.97.3'
367
367
 
368
368
  ### Install from Git
369
369
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount** | **Float** | The amount of money. | [optional] |
8
+ | **amount_cents** | **Float** | The amount of money in cents. | [optional] |
8
9
  | **currency** | **String** | The currency of the money. | [optional] |
9
10
 
10
11
  ## Example
@@ -14,6 +15,7 @@ require 'DealMakerAPI'
14
15
 
15
16
  instance = DealMakerAPI::V1EntitiesMoneyEntity.new(
16
17
  amount: null,
18
+ amount_cents: null,
17
19
  currency: null
18
20
  )
19
21
  ```
@@ -18,6 +18,9 @@ module DealMakerAPI
18
18
  # The amount of money.
19
19
  attr_accessor :amount
20
20
 
21
+ # The amount of money in cents.
22
+ attr_accessor :amount_cents
23
+
21
24
  # The currency of the money.
22
25
  attr_accessor :currency
23
26
 
@@ -25,6 +28,7 @@ module DealMakerAPI
25
28
  def self.attribute_map
26
29
  {
27
30
  :'amount' => :'amount',
31
+ :'amount_cents' => :'amount_cents',
28
32
  :'currency' => :'currency'
29
33
  }
30
34
  end
@@ -38,6 +42,7 @@ module DealMakerAPI
38
42
  def self.openapi_types
39
43
  {
40
44
  :'amount' => :'Float',
45
+ :'amount_cents' => :'Float',
41
46
  :'currency' => :'String'
42
47
  }
43
48
  end
@@ -67,6 +72,10 @@ module DealMakerAPI
67
72
  self.amount = attributes[:'amount']
68
73
  end
69
74
 
75
+ if attributes.key?(:'amount_cents')
76
+ self.amount_cents = attributes[:'amount_cents']
77
+ end
78
+
70
79
  if attributes.key?(:'currency')
71
80
  self.currency = attributes[:'currency']
72
81
  end
@@ -93,6 +102,7 @@ module DealMakerAPI
93
102
  return true if self.equal?(o)
94
103
  self.class == o.class &&
95
104
  amount == o.amount &&
105
+ amount_cents == o.amount_cents &&
96
106
  currency == o.currency
97
107
  end
98
108
 
@@ -105,7 +115,7 @@ module DealMakerAPI
105
115
  # Calculates hash code according to all attributes.
106
116
  # @return [Integer] Hash code
107
117
  def hash
108
- [amount, currency].hash
118
+ [amount, amount_cents, currency].hash
109
119
  end
110
120
 
111
121
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.4.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module DealMakerAPI
14
- VERSION = '0.97.1'
14
+ VERSION = '0.97.3'
15
15
  end
@@ -33,6 +33,12 @@ describe DealMakerAPI::V1EntitiesMoneyEntity do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "amount_cents"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
36
42
  describe 'test attribute "currency"' do
37
43
  it 'should work' do
38
44
  # 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.1
4
+ version: 0.97.3
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-16 00:00:00.000000000 Z
11
+ date: 2024-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus