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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6b9dcb768637d2b12762ba653055b3e04a052999c5e2cd33d892da22bf7c640
4
- data.tar.gz: 05f4ce08b6518476016321d0a554a60766e3492e2cc4b8f11e28e1c0e85bbcd1
3
+ metadata.gz: 3ca6a8bad062ea8ca7cc2957b9d3eddf4a6e216028a43a4f9fecfb9936a2015e
4
+ data.tar.gz: d2eb181fafd621fadf57f7d3715d76a59b667cc164adaf999155e6174890e018
5
5
  SHA512:
6
- metadata.gz: f8c2ef322898f0c3d37be9d418827719c4f76c9ffe77859588663898755b6ee6520bedcfad170df172716ef13d032377cce0f73d9ff7db562c0206a67a93f952
7
- data.tar.gz: 1d0c0e5e3fa1180a52da0249978159070c676737bfe76ea348f592583fd4016bfa602cd79b4c8e40c318b9eb506b3d4f5e64580efddd402ff975f2cb8de4c14c
6
+ metadata.gz: 483a8d54d53b0b8cff66bf7a95df6854368c59d5404d838f4592bf5333c3f4318ee6dde0b02d34b7ff05921516d7f358992c8ddba602d91dd7298263f9f75e0a
7
+ data.tar.gz: 9c8949f03c87ddd86f3ffdbf122ba5a610126e451adbd454a0e2ebecb5939e9d7228126ea340a842558b083ebdf40a202dee41ba2ac3150984348e502c5fcd72
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- budgea_client (4.0.1)
4
+ budgea_client (4.0.2)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
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: 1.0.0
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-1.0.0.gem
26
+ gem install ./budgea_client-4.0.2.gem
27
27
  ```
28
- (for development, run `gem install --dev ./budgea_client-1.0.0.gem` to install the development dependencies)
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', '~> 1.0.0'
34
+ gem 'budgea_client', '~> 4.0.2'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -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": {
@@ -6,5 +6,6 @@
6
6
  "gemDescription": "Budgea API Documentation Ruby Gem",
7
7
  "gemHomepage": "https://github.com/cashbee-team/budgea_client",
8
8
  "moduleName": "BudgeaClient",
9
- "gemLicense": "Apache 2.0"
9
+ "gemLicense": "Apache 2.0",
10
+ "gemVersion": "4.0.2"
10
11
  }
@@ -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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.1
11
11
  =end
12
12
 
13
13
  module BudgeaClient
14
- VERSION = '4.0.1'
14
+ VERSION = '4.0.2'
15
15
  end
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.1
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-09-25 00:00:00.000000000 Z
11
+ date: 2019-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus