budgea_client 4.0.1 → 4.0.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/budgea_openapi.json +6 -0
- data/config.json +2 -1
- data/docs/Connection.md +1 -0
- data/lib/budgea_client/models/connection.rb +15 -4
- data/lib/budgea_client/version.rb +1 -1
- data/pkg/budgea_client-4.0.1.gem +0 -0
- 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: 3ca6a8bad062ea8ca7cc2957b9d3eddf4a6e216028a43a4f9fecfb9936a2015e
|
|
4
|
+
data.tar.gz: d2eb181fafd621fadf57f7d3715d76a59b667cc164adaf999155e6174890e018
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 483a8d54d53b0b8cff66bf7a95df6854368c59d5404d838f4592bf5333c3f4318ee6dde0b02d34b7ff05921516d7f358992c8ddba602d91dd7298263f9f75e0a
|
|
7
|
+
data.tar.gz: 9c8949f03c87ddd86f3ffdbf122ba5a610126e451adbd454a0e2ebecb5939e9d7228126ea340a842558b083ebdf40a202dee41ba2ac3150984348e502c5fcd72
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0
|
|
10
|
-
- Package version:
|
|
10
|
+
- Package version: 4.0.2
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,15 +23,15 @@ gem build budgea_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./budgea_client-
|
|
26
|
+
gem install ./budgea_client-4.0.2.gem
|
|
27
27
|
```
|
|
28
|
-
(for development, run `gem install --dev ./budgea_client-
|
|
28
|
+
(for development, run `gem install --dev ./budgea_client-4.0.2.gem` to install the development dependencies)
|
|
29
29
|
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
31
31
|
|
|
32
32
|
Finally add this to the Gemfile:
|
|
33
33
|
|
|
34
|
-
gem 'budgea_client', '~>
|
|
34
|
+
gem 'budgea_client', '~> 4.0.2'
|
|
35
35
|
|
|
36
36
|
### Install from Git
|
|
37
37
|
|
data/budgea_openapi.json
CHANGED
|
@@ -22774,6 +22774,12 @@
|
|
|
22774
22774
|
"items": {
|
|
22775
22775
|
"$ref": "#/definitions/Account"
|
|
22776
22776
|
}
|
|
22777
|
+
},
|
|
22778
|
+
"subscriptions": {
|
|
22779
|
+
"type": "array",
|
|
22780
|
+
"items": {
|
|
22781
|
+
"$ref": "#/definitions/Subscription"
|
|
22782
|
+
}
|
|
22777
22783
|
}
|
|
22778
22784
|
},
|
|
22779
22785
|
"example": {
|
data/config.json
CHANGED
data/docs/Connection.md
CHANGED
|
@@ -14,5 +14,6 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**last_push** | **DateTime** | Last successful push | [optional]
|
|
15
15
|
**next_try** | **DateTime** | Date of next synchronization | [optional]
|
|
16
16
|
**accounts** | [**Array<Account>**](Account.md) | | [optional]
|
|
17
|
+
**subscriptions** | [**Array<Subscription>**](Subscription.md) | | [optional]
|
|
17
18
|
|
|
18
19
|
|
|
@@ -46,6 +46,8 @@ module BudgeaClient
|
|
|
46
46
|
|
|
47
47
|
attr_accessor :accounts
|
|
48
48
|
|
|
49
|
+
attr_accessor :subscriptions
|
|
50
|
+
|
|
49
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
52
|
def self.attribute_map
|
|
51
53
|
{
|
|
@@ -59,7 +61,8 @@ module BudgeaClient
|
|
|
59
61
|
:'active' => :'active',
|
|
60
62
|
:'last_push' => :'last_push',
|
|
61
63
|
:'next_try' => :'next_try',
|
|
62
|
-
:'accounts' => :'accounts'
|
|
64
|
+
:'accounts' => :'accounts',
|
|
65
|
+
:'subscriptions' => :'subscriptions'
|
|
63
66
|
}
|
|
64
67
|
end
|
|
65
68
|
|
|
@@ -76,7 +79,8 @@ module BudgeaClient
|
|
|
76
79
|
:'active' => :'BOOLEAN',
|
|
77
80
|
:'last_push' => :'DateTime',
|
|
78
81
|
:'next_try' => :'DateTime',
|
|
79
|
-
:'accounts' => :'Array<Account>'
|
|
82
|
+
:'accounts' => :'Array<Account>',
|
|
83
|
+
:'subscriptions' => :'Array<Subscription>'
|
|
80
84
|
}
|
|
81
85
|
end
|
|
82
86
|
|
|
@@ -135,6 +139,12 @@ module BudgeaClient
|
|
|
135
139
|
self.accounts = value
|
|
136
140
|
end
|
|
137
141
|
end
|
|
142
|
+
|
|
143
|
+
if attributes.has_key?(:'subscriptions')
|
|
144
|
+
if (value = attributes[:'subscriptions']).is_a?(Array)
|
|
145
|
+
self.subscriptions = value
|
|
146
|
+
end
|
|
147
|
+
end
|
|
138
148
|
end
|
|
139
149
|
|
|
140
150
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -180,7 +190,8 @@ module BudgeaClient
|
|
|
180
190
|
active == o.active &&
|
|
181
191
|
last_push == o.last_push &&
|
|
182
192
|
next_try == o.next_try &&
|
|
183
|
-
accounts == o.accounts
|
|
193
|
+
accounts == o.accounts &&
|
|
194
|
+
subscriptions == o.subscriptions
|
|
184
195
|
end
|
|
185
196
|
|
|
186
197
|
# @see the `==` method
|
|
@@ -192,7 +203,7 @@ module BudgeaClient
|
|
|
192
203
|
# Calculates hash code according to all attributes.
|
|
193
204
|
# @return [Fixnum] Hash code
|
|
194
205
|
def hash
|
|
195
|
-
[id, id_user, id_connector, last_update, error, error_message, expire, active, last_push, next_try, accounts].hash
|
|
206
|
+
[id, id_user, id_connector, last_update, error, error_message, expire, active, last_push, next_try, accounts, subscriptions].hash
|
|
196
207
|
end
|
|
197
208
|
|
|
198
209
|
# Builds the object from hash
|
data/pkg/budgea_client-4.0.1.gem
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: budgea_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chaker Nakhli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|