ynab 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/Rakefile +9 -0
- data/config.json +2 -2
- data/docs/Account.md +1 -1
- data/docs/AccountResponse.md +1 -1
- data/docs/AccountWrapper.md +1 -1
- data/docs/AccountsApi.md +1 -1
- data/docs/AccountsResponse.md +1 -1
- data/docs/AccountsWrapper.md +1 -1
- data/docs/BudgetDetail.md +1 -1
- data/docs/BudgetDetailResponse.md +1 -1
- data/docs/BudgetDetailWrapper.md +1 -1
- data/docs/BudgetSettings.md +9 -0
- data/docs/BudgetSettingsResponse.md +8 -0
- data/docs/BudgetSettingsWrapper.md +8 -0
- data/docs/BudgetSummary.md +1 -1
- data/docs/BudgetSummaryResponse.md +1 -1
- data/docs/BudgetSummaryWrapper.md +1 -1
- data/docs/BudgetsApi.md +19 -1
- data/docs/BulkIdWrapper.md +1 -1
- data/docs/BulkIds.md +1 -1
- data/docs/BulkResponse.md +1 -1
- data/docs/BulkTransactionCreateResponse.md +2 -2
- data/docs/BulkTransactionIds.md +2 -2
- data/docs/BulkTransactions.md +1 -1
- data/docs/CategoriesApi.md +1 -1
- data/docs/CategoriesResponse.md +1 -1
- data/docs/Category.md +2 -1
- data/docs/CategoryGroup.md +1 -1
- data/docs/CategoryGroupWithCategories.md +1 -1
- data/docs/CategoryGroupsWrapper.md +1 -1
- data/docs/CategoryResponse.md +1 -1
- data/docs/CategoryWrapper.md +1 -1
- data/docs/CurrencyFormat.md +1 -1
- data/docs/DateFormat.md +1 -1
- data/docs/ErrorDetail.md +1 -1
- data/docs/ErrorResponse.md +1 -1
- data/docs/HybridTransaction.md +1 -1
- data/docs/HybridTransactionsResponse.md +1 -1
- data/docs/HybridTransactionsWrapper.md +1 -1
- data/docs/MonthDetail.md +1 -1
- data/docs/MonthDetailResponse.md +1 -1
- data/docs/MonthDetailWrapper.md +1 -1
- data/docs/MonthSummariesResponse.md +1 -1
- data/docs/MonthSummariesWrapper.md +1 -1
- data/docs/MonthSummary.md +1 -1
- data/docs/MonthsApi.md +1 -1
- data/docs/Payee.md +1 -1
- data/docs/PayeeLocation.md +1 -1
- data/docs/PayeeLocationResponse.md +1 -1
- data/docs/PayeeLocationWrapper.md +1 -1
- data/docs/PayeeLocationsApi.md +1 -1
- data/docs/PayeeLocationsResponse.md +1 -1
- data/docs/PayeeLocationsWrapper.md +1 -1
- data/docs/PayeeResponse.md +1 -1
- data/docs/PayeeWrapper.md +1 -1
- data/docs/PayeesApi.md +1 -1
- data/docs/PayeesResponse.md +1 -1
- data/docs/PayeesWrapper.md +1 -1
- data/docs/SaveTransaction.md +2 -2
- data/docs/SaveTransactionWrapper.md +1 -1
- data/docs/ScheduledSubTransaction.md +1 -1
- data/docs/ScheduledTransactionDetail.md +1 -1
- data/docs/ScheduledTransactionResponse.md +1 -1
- data/docs/ScheduledTransactionSummary.md +1 -1
- data/docs/ScheduledTransactionWrapper.md +1 -1
- data/docs/ScheduledTransactionsApi.md +1 -1
- data/docs/ScheduledTransactionsResponse.md +1 -1
- data/docs/ScheduledTransactionsWrapper.md +1 -1
- data/docs/SubTransaction.md +1 -1
- data/docs/TransactionDetail.md +1 -1
- data/docs/TransactionResponse.md +1 -1
- data/docs/TransactionSummary.md +1 -1
- data/docs/TransactionWrapper.md +1 -1
- data/docs/TransactionsApi.md +5 -2
- data/docs/TransactionsResponse.md +1 -1
- data/docs/TransactionsWrapper.md +1 -1
- data/docs/User.md +1 -1
- data/docs/UserApi.md +1 -1
- data/docs/UserResponse.md +1 -1
- data/docs/UserWrapper.md +1 -1
- data/examples/budget-list.rb +1 -1
- data/examples/budget-month.rb +1 -1
- data/examples/category-balance.rb +1 -1
- data/lib/ynab.rb +27 -15
- data/lib/ynab/api/accounts_api.rb +1 -1
- data/lib/ynab/api/budgets_api.rb +53 -1
- data/lib/ynab/api/categories_api.rb +1 -1
- data/lib/ynab/api/months_api.rb +1 -1
- data/lib/ynab/api/payee_locations_api.rb +1 -1
- data/lib/ynab/api/payees_api.rb +1 -1
- data/lib/ynab/api/scheduled_transactions_api.rb +1 -1
- data/lib/ynab/api/transactions_api.rb +21 -3
- data/lib/ynab/api/user_api.rb +1 -1
- data/lib/ynab/api_client.rb +2 -2
- data/lib/ynab/api_error.rb +1 -1
- data/lib/ynab/configuration.rb +1 -1
- data/lib/ynab/models/account.rb +2 -2
- data/lib/ynab/models/account_response.rb +2 -2
- data/lib/ynab/models/account_wrapper.rb +2 -2
- data/lib/ynab/models/accounts_response.rb +2 -2
- data/lib/ynab/models/accounts_wrapper.rb +2 -2
- data/lib/ynab/models/budget_detail.rb +2 -2
- data/lib/ynab/models/budget_detail_response.rb +2 -2
- data/lib/ynab/models/budget_detail_wrapper.rb +2 -2
- data/lib/ynab/models/budget_settings.rb +202 -0
- data/lib/ynab/models/budget_settings_response.rb +188 -0
- data/lib/ynab/models/budget_settings_wrapper.rb +188 -0
- data/lib/ynab/models/budget_summary.rb +2 -2
- data/lib/ynab/models/budget_summary_response.rb +2 -2
- data/lib/ynab/models/budget_summary_wrapper.rb +2 -2
- data/lib/ynab/models/bulk_id_wrapper.rb +2 -2
- data/lib/ynab/models/bulk_ids.rb +2 -2
- data/lib/ynab/models/bulk_response.rb +2 -2
- data/lib/ynab/models/bulk_transaction_create_response.rb +2 -2
- data/lib/ynab/models/bulk_transaction_ids.rb +2 -2
- data/lib/ynab/models/bulk_transactions.rb +2 -2
- data/lib/ynab/models/categories_response.rb +2 -2
- data/lib/ynab/models/category.rb +13 -3
- data/lib/ynab/models/category_group.rb +2 -2
- data/lib/ynab/models/category_group_with_categories.rb +2 -2
- data/lib/ynab/models/category_groups_wrapper.rb +2 -2
- data/lib/ynab/models/category_response.rb +2 -2
- data/lib/ynab/models/category_wrapper.rb +2 -2
- data/lib/ynab/models/currency_format.rb +2 -2
- data/lib/ynab/models/date_format.rb +2 -2
- data/lib/ynab/models/error_detail.rb +2 -2
- data/lib/ynab/models/error_response.rb +2 -2
- data/lib/ynab/models/hybrid_transaction.rb +2 -2
- data/lib/ynab/models/hybrid_transactions_response.rb +2 -2
- data/lib/ynab/models/hybrid_transactions_wrapper.rb +2 -2
- data/lib/ynab/models/month_detail.rb +2 -2
- data/lib/ynab/models/month_detail_response.rb +2 -2
- data/lib/ynab/models/month_detail_wrapper.rb +2 -2
- data/lib/ynab/models/month_summaries_response.rb +2 -2
- data/lib/ynab/models/month_summaries_wrapper.rb +2 -2
- data/lib/ynab/models/month_summary.rb +2 -2
- data/lib/ynab/models/payee.rb +2 -2
- data/lib/ynab/models/payee_location.rb +2 -2
- data/lib/ynab/models/payee_location_response.rb +2 -2
- data/lib/ynab/models/payee_location_wrapper.rb +2 -2
- data/lib/ynab/models/payee_locations_response.rb +2 -2
- data/lib/ynab/models/payee_locations_wrapper.rb +2 -2
- data/lib/ynab/models/payee_response.rb +2 -2
- data/lib/ynab/models/payee_wrapper.rb +2 -2
- data/lib/ynab/models/payees_response.rb +2 -2
- data/lib/ynab/models/payees_wrapper.rb +2 -2
- data/lib/ynab/models/save_transaction.rb +3 -3
- data/lib/ynab/models/save_transaction_wrapper.rb +2 -2
- data/lib/ynab/models/scheduled_sub_transaction.rb +2 -2
- data/lib/ynab/models/scheduled_transaction_detail.rb +2 -2
- data/lib/ynab/models/scheduled_transaction_response.rb +2 -2
- data/lib/ynab/models/scheduled_transaction_summary.rb +2 -2
- data/lib/ynab/models/scheduled_transaction_wrapper.rb +2 -2
- data/lib/ynab/models/scheduled_transactions_response.rb +2 -2
- data/lib/ynab/models/scheduled_transactions_wrapper.rb +2 -2
- data/lib/ynab/models/sub_transaction.rb +2 -2
- data/lib/ynab/models/transaction_detail.rb +2 -2
- data/lib/ynab/models/transaction_response.rb +2 -2
- data/lib/ynab/models/transaction_summary.rb +2 -2
- data/lib/ynab/models/transaction_wrapper.rb +2 -2
- data/lib/ynab/models/transactions_response.rb +2 -2
- data/lib/ynab/models/transactions_wrapper.rb +2 -2
- data/lib/ynab/models/user.rb +2 -2
- data/lib/ynab/models/user_response.rb +2 -2
- data/lib/ynab/models/user_wrapper.rb +2 -2
- data/lib/ynab/version.rb +2 -2
- data/pkg/ynab-1.0.0.gem +0 -0
- data/pkg/ynab-1.1.0.gem +0 -0
- data/spec-v1-swagger.json +105 -3
- data/spec/api/accounts_spec.rb +13 -4
- data/spec/api/budgets_spec.rb +4 -4
- data/spec/api/categories_spec.rb +4 -4
- data/spec/api/months_spec.rb +4 -4
- data/spec/api/payee_locations_spec.rb +4 -4
- data/spec/api/payees_spec.rb +4 -4
- data/spec/api/scheduled_transactions_spec.rb +4 -4
- data/spec/api/transactions_spec.rb +4 -4
- data/swagger-templates/gem.mustache +83 -0
- data/ynab.gemspec +1 -1
- metadata +11 -2
data/lib/ynab/models/bulk_ids.rb
CHANGED
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class BulkIds
|
17
17
|
# The list of Transaction IDs that were created.
|
18
18
|
attr_accessor :transaction_ids
|
@@ -158,7 +158,7 @@ module YnabApi
|
|
158
158
|
end
|
159
159
|
end
|
160
160
|
else # model
|
161
|
-
temp_model =
|
161
|
+
temp_model = YNAB.const_get(type).new
|
162
162
|
temp_model.build_from_hash(value)
|
163
163
|
end
|
164
164
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class BulkResponse
|
17
17
|
attr_accessor :data
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.3.1
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
|
17
17
|
class BulkTransactionCreateResponse
|
18
18
|
attr_accessor :data
|
@@ -141,7 +141,7 @@ module YnabApi
|
|
141
141
|
end
|
142
142
|
end
|
143
143
|
else # model
|
144
|
-
temp_model =
|
144
|
+
temp_model = YNAB.const_get(type).new
|
145
145
|
temp_model.build_from_hash(value)
|
146
146
|
end
|
147
147
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.3.1
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
|
17
17
|
class BulkTransactionIds
|
18
18
|
attr_accessor :transaction_ids
|
@@ -143,7 +143,7 @@ module YnabApi
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
else # model
|
146
|
-
temp_model =
|
146
|
+
temp_model = YNAB.const_get(type).new
|
147
147
|
temp_model.build_from_hash(value)
|
148
148
|
end
|
149
149
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class BulkTransactions
|
17
17
|
attr_accessor :transactions
|
18
18
|
|
@@ -140,7 +140,7 @@ module YnabApi
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
else # model
|
143
|
-
temp_model =
|
143
|
+
temp_model = YNAB.const_get(type).new
|
144
144
|
temp_model.build_from_hash(value)
|
145
145
|
end
|
146
146
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class CategoriesResponse
|
17
17
|
attr_accessor :data
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
data/lib/ynab/models/category.rb
CHANGED
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class Category
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -23,6 +23,9 @@ module YnabApi
|
|
23
23
|
# Whether or not the category is hidden
|
24
24
|
attr_accessor :hidden
|
25
25
|
|
26
|
+
# If category is hidden this is the id of the category group it originally belonged to before it was hidden.
|
27
|
+
attr_accessor :original_category_group_id
|
28
|
+
|
26
29
|
attr_accessor :note
|
27
30
|
|
28
31
|
# Budgeted amount in current month in milliunits format
|
@@ -44,6 +47,7 @@ module YnabApi
|
|
44
47
|
:'category_group_id' => :'category_group_id',
|
45
48
|
:'name' => :'name',
|
46
49
|
:'hidden' => :'hidden',
|
50
|
+
:'original_category_group_id' => :'original_category_group_id',
|
47
51
|
:'note' => :'note',
|
48
52
|
:'budgeted' => :'budgeted',
|
49
53
|
:'activity' => :'activity',
|
@@ -59,6 +63,7 @@ module YnabApi
|
|
59
63
|
:'category_group_id' => :'String',
|
60
64
|
:'name' => :'String',
|
61
65
|
:'hidden' => :'BOOLEAN',
|
66
|
+
:'original_category_group_id' => :'String',
|
62
67
|
:'note' => :'String',
|
63
68
|
:'budgeted' => :'Float',
|
64
69
|
:'activity' => :'Float',
|
@@ -91,6 +96,10 @@ module YnabApi
|
|
91
96
|
self.hidden = attributes[:'hidden']
|
92
97
|
end
|
93
98
|
|
99
|
+
if attributes.has_key?(:'original_category_group_id')
|
100
|
+
self.original_category_group_id = attributes[:'original_category_group_id']
|
101
|
+
end
|
102
|
+
|
94
103
|
if attributes.has_key?(:'note')
|
95
104
|
self.note = attributes[:'note']
|
96
105
|
end
|
@@ -179,6 +188,7 @@ module YnabApi
|
|
179
188
|
category_group_id == o.category_group_id &&
|
180
189
|
name == o.name &&
|
181
190
|
hidden == o.hidden &&
|
191
|
+
original_category_group_id == o.original_category_group_id &&
|
182
192
|
note == o.note &&
|
183
193
|
budgeted == o.budgeted &&
|
184
194
|
activity == o.activity &&
|
@@ -195,7 +205,7 @@ module YnabApi
|
|
195
205
|
# Calculates hash code according to all attributes.
|
196
206
|
# @return [Fixnum] Hash code
|
197
207
|
def hash
|
198
|
-
[id, category_group_id, name, hidden, note, budgeted, activity, balance, deleted].hash
|
208
|
+
[id, category_group_id, name, hidden, original_category_group_id, note, budgeted, activity, balance, deleted].hash
|
199
209
|
end
|
200
210
|
|
201
211
|
# Builds the object from hash
|
@@ -255,7 +265,7 @@ module YnabApi
|
|
255
265
|
end
|
256
266
|
end
|
257
267
|
else # model
|
258
|
-
temp_model =
|
268
|
+
temp_model = YNAB.const_get(type).new
|
259
269
|
temp_model.build_from_hash(value)
|
260
270
|
end
|
261
271
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class CategoryGroup
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -182,7 +182,7 @@ module YnabApi
|
|
182
182
|
end
|
183
183
|
end
|
184
184
|
else # model
|
185
|
-
temp_model =
|
185
|
+
temp_model = YNAB.const_get(type).new
|
186
186
|
temp_model.build_from_hash(value)
|
187
187
|
end
|
188
188
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class CategoryGroupWithCategories
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -199,7 +199,7 @@ module YnabApi
|
|
199
199
|
end
|
200
200
|
end
|
201
201
|
else # model
|
202
|
-
temp_model =
|
202
|
+
temp_model = YNAB.const_get(type).new
|
203
203
|
temp_model.build_from_hash(value)
|
204
204
|
end
|
205
205
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class CategoryGroupsWrapper
|
17
17
|
attr_accessor :category_groups
|
18
18
|
|
@@ -140,7 +140,7 @@ module YnabApi
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
else # model
|
143
|
-
temp_model =
|
143
|
+
temp_model = YNAB.const_get(type).new
|
144
144
|
temp_model.build_from_hash(value)
|
145
145
|
end
|
146
146
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class CategoryResponse
|
17
17
|
attr_accessor :data
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class CategoryWrapper
|
17
17
|
attr_accessor :category
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class CurrencyFormat
|
17
17
|
attr_accessor :iso_code
|
18
18
|
|
@@ -236,7 +236,7 @@ module YnabApi
|
|
236
236
|
end
|
237
237
|
end
|
238
238
|
else # model
|
239
|
-
temp_model =
|
239
|
+
temp_model = YNAB.const_get(type).new
|
240
240
|
temp_model.build_from_hash(value)
|
241
241
|
end
|
242
242
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class DateFormat
|
17
17
|
attr_accessor :format
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class ErrorDetail
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -166,7 +166,7 @@ module YnabApi
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
else # model
|
169
|
-
temp_model =
|
169
|
+
temp_model = YNAB.const_get(type).new
|
170
170
|
temp_model.build_from_hash(value)
|
171
171
|
end
|
172
172
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class ErrorResponse
|
17
17
|
attr_accessor :error
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class HybridTransaction
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -442,7 +442,7 @@ module YnabApi
|
|
442
442
|
end
|
443
443
|
end
|
444
444
|
else # model
|
445
|
-
temp_model =
|
445
|
+
temp_model = YNAB.const_get(type).new
|
446
446
|
temp_model.build_from_hash(value)
|
447
447
|
end
|
448
448
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class HybridTransactionsResponse
|
17
17
|
attr_accessor :data
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class HybridTransactionsWrapper
|
17
17
|
attr_accessor :transactions
|
18
18
|
|
@@ -140,7 +140,7 @@ module YnabApi
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
else # model
|
143
|
-
temp_model =
|
143
|
+
temp_model = YNAB.const_get(type).new
|
144
144
|
temp_model.build_from_hash(value)
|
145
145
|
end
|
146
146
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class MonthDetail
|
17
17
|
attr_accessor :month
|
18
18
|
|
@@ -198,7 +198,7 @@ module YnabApi
|
|
198
198
|
end
|
199
199
|
end
|
200
200
|
else # model
|
201
|
-
temp_model =
|
201
|
+
temp_model = YNAB.const_get(type).new
|
202
202
|
temp_model.build_from_hash(value)
|
203
203
|
end
|
204
204
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class MonthDetailResponse
|
17
17
|
attr_accessor :data
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
|
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
|
-
module
|
15
|
+
module YNAB
|
16
16
|
class MonthDetailWrapper
|
17
17
|
attr_accessor :month
|
18
18
|
|
@@ -138,7 +138,7 @@ module YnabApi
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
else # model
|
141
|
-
temp_model =
|
141
|
+
temp_model = YNAB.const_get(type).new
|
142
142
|
temp_model.build_from_hash(value)
|
143
143
|
end
|
144
144
|
end
|