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
@@ -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 MonthSummariesResponse
|
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 MonthSummariesWrapper
|
17
17
|
attr_accessor :months
|
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 MonthSummary
|
17
17
|
attr_accessor :month
|
18
18
|
|
@@ -181,7 +181,7 @@ module YnabApi
|
|
181
181
|
end
|
182
182
|
end
|
183
183
|
else # model
|
184
|
-
temp_model =
|
184
|
+
temp_model = YNAB.const_get(type).new
|
185
185
|
temp_model.build_from_hash(value)
|
186
186
|
end
|
187
187
|
end
|
data/lib/ynab/models/payee.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 Payee
|
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 PayeeLocation
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -195,7 +195,7 @@ module YnabApi
|
|
195
195
|
end
|
196
196
|
end
|
197
197
|
else # model
|
198
|
-
temp_model =
|
198
|
+
temp_model = YNAB.const_get(type).new
|
199
199
|
temp_model.build_from_hash(value)
|
200
200
|
end
|
201
201
|
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 PayeeLocationResponse
|
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 PayeeLocationWrapper
|
17
17
|
attr_accessor :payee_location
|
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 PayeeLocationsResponse
|
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 PayeeLocationsWrapper
|
17
17
|
attr_accessor :payee_locations
|
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 PayeeResponse
|
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 PayeeWrapper
|
17
17
|
attr_accessor :payee
|
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 PayeesResponse
|
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 PayeesWrapper
|
17
17
|
attr_accessor :payees
|
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 SaveTransaction
|
17
17
|
attr_accessor :account_id
|
18
18
|
|
@@ -24,7 +24,7 @@ module YnabApi
|
|
24
24
|
# The payee for the transaction. Transfer payees are not permitted and will be ignored if supplied.
|
25
25
|
attr_accessor :payee_id
|
26
26
|
|
27
|
-
# The payee name. If a payee_name value is provided and payee_id
|
27
|
+
# The payee name. If a payee_name value is provided and payee_id has a null value, the payee_name value will be used to resolve the payee by either (1) a matching payee rename rule (only if import_id is also specified) or (2) a payee with the same name or (3) creation of a new payee.
|
28
28
|
attr_accessor :payee_name
|
29
29
|
|
30
30
|
# The category for the transaction. Split and Credit Card Payment categories are not permitted and will be ignored if supplied.
|
@@ -292,7 +292,7 @@ module YnabApi
|
|
292
292
|
end
|
293
293
|
end
|
294
294
|
else # model
|
295
|
-
temp_model =
|
295
|
+
temp_model = YNAB.const_get(type).new
|
296
296
|
temp_model.build_from_hash(value)
|
297
297
|
end
|
298
298
|
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 SaveTransactionWrapper
|
17
17
|
attr_accessor :transaction
|
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 ScheduledSubTransaction
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -239,7 +239,7 @@ module YnabApi
|
|
239
239
|
end
|
240
240
|
end
|
241
241
|
else # model
|
242
|
-
temp_model =
|
242
|
+
temp_model = YNAB.const_get(type).new
|
243
243
|
temp_model.build_from_hash(value)
|
244
244
|
end
|
245
245
|
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 ScheduledTransactionDetail
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -403,7 +403,7 @@ module YnabApi
|
|
403
403
|
end
|
404
404
|
end
|
405
405
|
else # model
|
406
|
-
temp_model =
|
406
|
+
temp_model = YNAB.const_get(type).new
|
407
407
|
temp_model.build_from_hash(value)
|
408
408
|
end
|
409
409
|
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 ScheduledTransactionResponse
|
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 ScheduledTransactionSummary
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -344,7 +344,7 @@ module YnabApi
|
|
344
344
|
end
|
345
345
|
end
|
346
346
|
else # model
|
347
|
-
temp_model =
|
347
|
+
temp_model = YNAB.const_get(type).new
|
348
348
|
temp_model.build_from_hash(value)
|
349
349
|
end
|
350
350
|
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 ScheduledTransactionWrapper
|
17
17
|
attr_accessor :scheduled_transaction
|
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 ScheduledTransactionsResponse
|
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 ScheduledTransactionsWrapper
|
17
17
|
attr_accessor :scheduled_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 SubTransaction
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -239,7 +239,7 @@ module YnabApi
|
|
239
239
|
end
|
240
240
|
end
|
241
241
|
else # model
|
242
|
-
temp_model =
|
242
|
+
temp_model = YNAB.const_get(type).new
|
243
243
|
temp_model.build_from_hash(value)
|
244
244
|
end
|
245
245
|
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 TransactionDetail
|
17
17
|
attr_accessor :id
|
18
18
|
|
@@ -417,7 +417,7 @@ module YnabApi
|
|
417
417
|
end
|
418
418
|
end
|
419
419
|
else # model
|
420
|
-
temp_model =
|
420
|
+
temp_model = YNAB.const_get(type).new
|
421
421
|
temp_model.build_from_hash(value)
|
422
422
|
end
|
423
423
|
end
|