DealMakerAPI 0.99.4 → 0.100.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebd1fde3d682f958b05e27d5b1a2beb37c495b58a619c0e411e884bee13fa7dc
|
4
|
+
data.tar.gz: 37da0d41b258ac30974937395c164e0d68b91fe1b75ecba68d82ce7298aae973
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e4e22f47fe7bcd2ee796d88fe87059cb64012eb206018c01718d399823a035dd06d26f548ec33a79a17c9ebfcd54ae940848a8b738309b8925abaa3c3f1518
|
7
|
+
data.tar.gz: d4e90650b9ddc1b008bb9220847eb3929eb5d5c15a72fc2e0d16e231f65f643dfcb7ad2f8195eadcb84e41e3b723f640d0620bec84932166e104b7a3f8d4b269
|
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.100.1
|
342
342
|
- Generator version: 7.5.0-SNAPSHOT
|
343
343
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
344
344
|
|
@@ -355,16 +355,16 @@ gem build DealMakerAPI.gemspec
|
|
355
355
|
Then either install the gem locally:
|
356
356
|
|
357
357
|
```shell
|
358
|
-
gem install ./DealMakerAPI-0.
|
358
|
+
gem install ./DealMakerAPI-0.100.1.gem
|
359
359
|
```
|
360
360
|
|
361
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.
|
361
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.100.1.gem` to install the development dependencies)
|
362
362
|
|
363
363
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
364
364
|
|
365
365
|
Finally add this to the Gemfile:
|
366
366
|
|
367
|
-
gem 'DealMakerAPI', '~> 0.
|
367
|
+
gem 'DealMakerAPI', '~> 0.100.1'
|
368
368
|
|
369
369
|
### Install from Git
|
370
370
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **amount** | **Float** | The amount of money. | [optional] |
|
8
8
|
| **amount_cents** | **Float** | The amount of money in cents. | [optional] |
|
9
|
+
| **formatted_amount** | **String** | A string representation of the amount | [optional] |
|
9
10
|
| **currency** | **String** | The currency of the money. | [optional] |
|
10
11
|
|
11
12
|
## Example
|
@@ -16,6 +17,7 @@ require 'DealMakerAPI'
|
|
16
17
|
instance = DealMakerAPI::V1EntitiesMoneyEntity.new(
|
17
18
|
amount: null,
|
18
19
|
amount_cents: null,
|
20
|
+
formatted_amount: null,
|
19
21
|
currency: null
|
20
22
|
)
|
21
23
|
```
|
@@ -21,6 +21,9 @@ module DealMakerAPI
|
|
21
21
|
# The amount of money in cents.
|
22
22
|
attr_accessor :amount_cents
|
23
23
|
|
24
|
+
# A string representation of the amount
|
25
|
+
attr_accessor :formatted_amount
|
26
|
+
|
24
27
|
# The currency of the money.
|
25
28
|
attr_accessor :currency
|
26
29
|
|
@@ -29,6 +32,7 @@ module DealMakerAPI
|
|
29
32
|
{
|
30
33
|
:'amount' => :'amount',
|
31
34
|
:'amount_cents' => :'amount_cents',
|
35
|
+
:'formatted_amount' => :'formatted_amount',
|
32
36
|
:'currency' => :'currency'
|
33
37
|
}
|
34
38
|
end
|
@@ -43,6 +47,7 @@ module DealMakerAPI
|
|
43
47
|
{
|
44
48
|
:'amount' => :'Float',
|
45
49
|
:'amount_cents' => :'Float',
|
50
|
+
:'formatted_amount' => :'String',
|
46
51
|
:'currency' => :'String'
|
47
52
|
}
|
48
53
|
end
|
@@ -76,6 +81,10 @@ module DealMakerAPI
|
|
76
81
|
self.amount_cents = attributes[:'amount_cents']
|
77
82
|
end
|
78
83
|
|
84
|
+
if attributes.key?(:'formatted_amount')
|
85
|
+
self.formatted_amount = attributes[:'formatted_amount']
|
86
|
+
end
|
87
|
+
|
79
88
|
if attributes.key?(:'currency')
|
80
89
|
self.currency = attributes[:'currency']
|
81
90
|
end
|
@@ -103,6 +112,7 @@ module DealMakerAPI
|
|
103
112
|
self.class == o.class &&
|
104
113
|
amount == o.amount &&
|
105
114
|
amount_cents == o.amount_cents &&
|
115
|
+
formatted_amount == o.formatted_amount &&
|
106
116
|
currency == o.currency
|
107
117
|
end
|
108
118
|
|
@@ -115,7 +125,7 @@ module DealMakerAPI
|
|
115
125
|
# Calculates hash code according to all attributes.
|
116
126
|
# @return [Integer] Hash code
|
117
127
|
def hash
|
118
|
-
[amount, amount_cents, currency].hash
|
128
|
+
[amount, amount_cents, formatted_amount, currency].hash
|
119
129
|
end
|
120
130
|
|
121
131
|
# Builds the object from hash
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -39,6 +39,12 @@ describe DealMakerAPI::V1EntitiesMoneyEntity do
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
describe 'test attribute "formatted_amount"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
42
48
|
describe 'test attribute "currency"' do
|
43
49
|
it 'should work' do
|
44
50
|
# 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.100.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|