ynab 1.16.0 → 1.17.0

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.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ynab.rb +3 -1
  3. data/lib/ynab/api/accounts_api.rb +1 -1
  4. data/lib/ynab/api/budgets_api.rb +1 -1
  5. data/lib/ynab/api/categories_api.rb +1 -1
  6. data/lib/ynab/api/deprecated_api.rb +1 -1
  7. data/lib/ynab/api/months_api.rb +1 -1
  8. data/lib/ynab/api/payee_locations_api.rb +1 -1
  9. data/lib/ynab/api/payees_api.rb +1 -1
  10. data/lib/ynab/api/scheduled_transactions_api.rb +1 -1
  11. data/lib/ynab/api/transactions_api.rb +53 -1
  12. data/lib/ynab/api/user_api.rb +1 -1
  13. data/lib/ynab/api_client.rb +1 -1
  14. data/lib/ynab/configuration.rb +1 -1
  15. data/lib/ynab/models/account.rb +3 -2
  16. data/lib/ynab/models/account_response.rb +3 -2
  17. data/lib/ynab/models/account_response_data.rb +3 -2
  18. data/lib/ynab/models/accounts_response.rb +3 -2
  19. data/lib/ynab/models/accounts_response_data.rb +3 -2
  20. data/lib/ynab/models/budget_detail.rb +3 -2
  21. data/lib/ynab/models/budget_detail_response.rb +3 -2
  22. data/lib/ynab/models/budget_detail_response_data.rb +3 -2
  23. data/lib/ynab/models/budget_settings.rb +3 -2
  24. data/lib/ynab/models/budget_settings_response.rb +3 -2
  25. data/lib/ynab/models/budget_settings_response_data.rb +3 -2
  26. data/lib/ynab/models/budget_summary.rb +3 -2
  27. data/lib/ynab/models/budget_summary_response.rb +3 -2
  28. data/lib/ynab/models/budget_summary_response_data.rb +3 -2
  29. data/lib/ynab/models/bulk_response.rb +3 -2
  30. data/lib/ynab/models/bulk_response_data.rb +3 -2
  31. data/lib/ynab/models/bulk_response_data_bulk.rb +3 -2
  32. data/lib/ynab/models/bulk_transactions.rb +3 -2
  33. data/lib/ynab/models/categories_response.rb +3 -2
  34. data/lib/ynab/models/categories_response_data.rb +3 -2
  35. data/lib/ynab/models/category.rb +3 -2
  36. data/lib/ynab/models/category_group.rb +3 -2
  37. data/lib/ynab/models/category_group_with_categories.rb +3 -2
  38. data/lib/ynab/models/category_response.rb +3 -2
  39. data/lib/ynab/models/category_response_data.rb +3 -2
  40. data/lib/ynab/models/currency_format.rb +3 -2
  41. data/lib/ynab/models/date_format.rb +3 -2
  42. data/lib/ynab/models/error_detail.rb +3 -2
  43. data/lib/ynab/models/error_response.rb +3 -2
  44. data/lib/ynab/models/hybrid_transaction.rb +3 -2
  45. data/lib/ynab/models/hybrid_transactions_response.rb +3 -2
  46. data/lib/ynab/models/hybrid_transactions_response_data.rb +3 -2
  47. data/lib/ynab/models/month_detail.rb +3 -2
  48. data/lib/ynab/models/month_detail_response.rb +3 -2
  49. data/lib/ynab/models/month_detail_response_data.rb +3 -2
  50. data/lib/ynab/models/month_summaries_response.rb +3 -2
  51. data/lib/ynab/models/month_summaries_response_data.rb +3 -2
  52. data/lib/ynab/models/month_summary.rb +3 -2
  53. data/lib/ynab/models/payee.rb +3 -2
  54. data/lib/ynab/models/payee_location.rb +3 -2
  55. data/lib/ynab/models/payee_location_response.rb +3 -2
  56. data/lib/ynab/models/payee_location_response_data.rb +3 -2
  57. data/lib/ynab/models/payee_locations_response.rb +3 -2
  58. data/lib/ynab/models/payee_locations_response_data.rb +3 -2
  59. data/lib/ynab/models/payee_response.rb +3 -2
  60. data/lib/ynab/models/payee_response_data.rb +3 -2
  61. data/lib/ynab/models/payees_response.rb +3 -2
  62. data/lib/ynab/models/payees_response_data.rb +3 -2
  63. data/lib/ynab/models/save_category_response.rb +3 -2
  64. data/lib/ynab/models/save_category_response_data.rb +3 -2
  65. data/lib/ynab/models/save_month_category.rb +3 -2
  66. data/lib/ynab/models/save_month_category_wrapper.rb +3 -2
  67. data/lib/ynab/models/save_sub_transaction.rb +4 -3
  68. data/lib/ynab/models/save_transaction.rb +3 -2
  69. data/lib/ynab/models/save_transaction_wrapper.rb +3 -2
  70. data/lib/ynab/models/save_transactions_response.rb +3 -2
  71. data/lib/ynab/models/save_transactions_response_data.rb +3 -2
  72. data/lib/ynab/models/save_transactions_wrapper.rb +3 -2
  73. data/lib/ynab/models/scheduled_sub_transaction.rb +3 -2
  74. data/lib/ynab/models/scheduled_transaction_detail.rb +3 -2
  75. data/lib/ynab/models/scheduled_transaction_response.rb +3 -2
  76. data/lib/ynab/models/scheduled_transaction_response_data.rb +3 -2
  77. data/lib/ynab/models/scheduled_transaction_summary.rb +3 -2
  78. data/lib/ynab/models/scheduled_transactions_response.rb +3 -2
  79. data/lib/ynab/models/scheduled_transactions_response_data.rb +3 -2
  80. data/lib/ynab/models/sub_transaction.rb +3 -2
  81. data/lib/ynab/models/transaction_detail.rb +3 -2
  82. data/lib/ynab/models/transaction_response.rb +3 -2
  83. data/lib/ynab/models/transaction_response_data.rb +3 -2
  84. data/lib/ynab/models/transaction_summary.rb +3 -2
  85. data/lib/ynab/models/transactions_import_response.rb +189 -0
  86. data/lib/ynab/models/transactions_import_response_data.rb +192 -0
  87. data/lib/ynab/models/transactions_response.rb +3 -2
  88. data/lib/ynab/models/transactions_response_data.rb +3 -2
  89. data/lib/ynab/models/update_transaction.rb +3 -2
  90. data/lib/ynab/models/update_transactions_wrapper.rb +3 -2
  91. data/lib/ynab/models/user.rb +3 -2
  92. data/lib/ynab/models/user_response.rb +3 -2
  93. data/lib/ynab/models/user_response_data.rb +3 -2
  94. data/lib/ynab/version.rb +1 -1
  95. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08252a91b18ed28e79e2a266348ed18e5c3a9a5b03f068cfa881aa9d11da8ef1'
4
- data.tar.gz: d6f42abcfa2eba23728010c39ea2fe0fb201e2d3ccc2f09044a11ce0c2e46268
3
+ metadata.gz: ecc804b0c72894a25a3addfde6bf756ff2ee6e04ae6576f5e16113ea882e827f
4
+ data.tar.gz: '0399e094d61c5ebde5566e23fc33f368b4f82438f4f14ae5bb39ff45020dbb0f'
5
5
  SHA512:
6
- metadata.gz: cb2d0fdd57827ba843ef8dc55b51703162d64dc3c24eaf533ba762068a4572dab1da05e74cec33085c227a1fe9dcbfd39a5a1372d1e8b127887f56b8f3b550c2
7
- data.tar.gz: 0c3487430cd0691446ebaa57b8a8aaf1e24dc26c40d44822102cdef1682a65a86c04e7d6e33734fecae9ffcd417b9de672f28460882548cdbf6dd485a7e15a6c
6
+ metadata.gz: 02f1def98a6791520a982f8427a735d7b44a801aac31ea9a568d400d3acd6a93ac48ff414410f838c28c521c706be633d4b3d7018b70a2748c720ba06e816109
7
+ data.tar.gz: 4d89e3a1a38a97b2879915f1ab21e4c8f5d95f09a2849bf396d44671059502b60b3cb54df6fc8fe3271380a24f1ad4661ad51631233df44b2d9425fb0cfa2b2d
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -81,6 +81,8 @@ require 'ynab/models/sub_transaction'
81
81
  require 'ynab/models/transaction_response'
82
82
  require 'ynab/models/transaction_response_data'
83
83
  require 'ynab/models/transaction_summary'
84
+ require 'ynab/models/transactions_import_response'
85
+ require 'ynab/models/transactions_import_response_data'
84
86
  require 'ynab/models/transactions_response'
85
87
  require 'ynab/models/transactions_response_data'
86
88
  require 'ynab/models/update_transactions_wrapper'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -409,6 +409,58 @@ module YNAB
409
409
  end
410
410
  return data, status_code, headers
411
411
  end
412
+ # Import transactions
413
+ # Imports transactions.
414
+ # @param budget_id The id of the budget (\"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
415
+ # @param [Hash] opts the optional parameters
416
+ # @return [TransactionsImportResponse]
417
+ def import_transactions(budget_id, opts = {})
418
+ data, _status_code, _headers = import_transactions_with_http_info(budget_id, opts)
419
+ data
420
+ end
421
+
422
+ # Import transactions
423
+ # Imports transactions.
424
+ # @param budget_id The id of the budget (\"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
425
+ # @param [Hash] opts the optional parameters
426
+ # @return [Array<(TransactionsImportResponse, Fixnum, Hash)>] TransactionsImportResponse data, response status code and response headers
427
+ def import_transactions_with_http_info(budget_id, opts = {})
428
+ if @api_client.config.debugging
429
+ @api_client.config.logger.debug 'Calling API: TransactionsApi.import_transactions ...'
430
+ end
431
+ # verify the required parameter 'budget_id' is set
432
+ if @api_client.config.client_side_validation && budget_id.nil?
433
+ fail ArgumentError, "Missing the required parameter 'budget_id' when calling TransactionsApi.import_transactions"
434
+ end
435
+ # resource path
436
+ local_var_path = '/budgets/{budget_id}/transactions/import'.sub('{' + 'budget_id' + '}', budget_id.to_s)
437
+
438
+ # query parameters
439
+ query_params = {}
440
+
441
+ # header parameters
442
+ header_params = {}
443
+ # HTTP header 'Accept' (if needed)
444
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
445
+
446
+ # form parameters
447
+ form_params = {}
448
+
449
+ # http body (model)
450
+ post_body = nil
451
+ auth_names = ['bearer']
452
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
453
+ :header_params => header_params,
454
+ :query_params => query_params,
455
+ :form_params => form_params,
456
+ :body => post_body,
457
+ :auth_names => auth_names,
458
+ :return_type => 'TransactionsImportResponse')
459
+ if @api_client.config.debugging
460
+ @api_client.config.logger.debug "API called: TransactionsApi#import_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
461
+ end
462
+ return data, status_code, headers
463
+ end
412
464
  # Updates an existing transaction
413
465
  # Updates a transaction
414
466
  # @param budget_id The id of the budget (\&quot;last-used\&quot; can be used to specify the last used budget and \&quot;default\&quot; can be used if default budget selection is enabled (see: https://api.youneedabudget.com/#oauth-default-budget)
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -265,7 +265,7 @@ module YNAB
265
265
  return nil unless attributes.is_a?(Hash)
266
266
  self.class.swagger_types.each_pair do |key, type|
267
267
  if type =~ /\AArray<(.*)>/i
268
- # check to ensure the input is an array given that the the attribute
268
+ # check to ensure the input is an array given that the attribute
269
269
  # is documented as an array but the input is not
270
270
  if attributes[self.class.attribute_map[key]].is_a?(Array)
271
271
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -361,5 +361,6 @@ module YNAB
361
361
  value
362
362
  end
363
363
  end
364
+
364
365
  end
365
366
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -88,7 +88,7 @@ module YNAB
88
88
  return nil unless attributes.is_a?(Hash)
89
89
  self.class.swagger_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
- # check to ensure the input is an array given that the the attribute
91
+ # check to ensure the input is an array given that the attribute
92
92
  # is documented as an array but the input is not
93
93
  if attributes[self.class.attribute_map[key]].is_a?(Array)
94
94
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -184,5 +184,6 @@ module YNAB
184
184
  value
185
185
  end
186
186
  end
187
+
187
188
  end
188
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -88,7 +88,7 @@ module YNAB
88
88
  return nil unless attributes.is_a?(Hash)
89
89
  self.class.swagger_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
- # check to ensure the input is an array given that the the attribute
91
+ # check to ensure the input is an array given that the attribute
92
92
  # is documented as an array but the input is not
93
93
  if attributes[self.class.attribute_map[key]].is_a?(Array)
94
94
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -184,5 +184,6 @@ module YNAB
184
184
  value
185
185
  end
186
186
  end
187
+
187
188
  end
188
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -88,7 +88,7 @@ module YNAB
88
88
  return nil unless attributes.is_a?(Hash)
89
89
  self.class.swagger_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
- # check to ensure the input is an array given that the the attribute
91
+ # check to ensure the input is an array given that the attribute
92
92
  # is documented as an array but the input is not
93
93
  if attributes[self.class.attribute_map[key]].is_a?(Array)
94
94
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -184,5 +184,6 @@ module YNAB
184
184
  value
185
185
  end
186
186
  end
187
+
187
188
  end
188
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -105,7 +105,7 @@ module YNAB
105
105
  return nil unless attributes.is_a?(Hash)
106
106
  self.class.swagger_types.each_pair do |key, type|
107
107
  if type =~ /\AArray<(.*)>/i
108
- # check to ensure the input is an array given that the the attribute
108
+ # check to ensure the input is an array given that the attribute
109
109
  # is documented as an array but the input is not
110
110
  if attributes[self.class.attribute_map[key]].is_a?(Array)
111
111
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -201,5 +201,6 @@ module YNAB
201
201
  value
202
202
  end
203
203
  end
204
+
204
205
  end
205
206
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -260,7 +260,7 @@ module YNAB
260
260
  return nil unless attributes.is_a?(Hash)
261
261
  self.class.swagger_types.each_pair do |key, type|
262
262
  if type =~ /\AArray<(.*)>/i
263
- # check to ensure the input is an array given that the the attribute
263
+ # check to ensure the input is an array given that the attribute
264
264
  # is documented as an array but the input is not
265
265
  if attributes[self.class.attribute_map[key]].is_a?(Array)
266
266
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -356,5 +356,6 @@ module YNAB
356
356
  value
357
357
  end
358
358
  end
359
+
359
360
  end
360
361
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -88,7 +88,7 @@ module YNAB
88
88
  return nil unless attributes.is_a?(Hash)
89
89
  self.class.swagger_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
- # check to ensure the input is an array given that the the attribute
91
+ # check to ensure the input is an array given that the attribute
92
92
  # is documented as an array but the input is not
93
93
  if attributes[self.class.attribute_map[key]].is_a?(Array)
94
94
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -184,5 +184,6 @@ module YNAB
184
184
  value
185
185
  end
186
186
  end
187
+
187
188
  end
188
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -103,7 +103,7 @@ module YNAB
103
103
  return nil unless attributes.is_a?(Hash)
104
104
  self.class.swagger_types.each_pair do |key, type|
105
105
  if type =~ /\AArray<(.*)>/i
106
- # check to ensure the input is an array given that the the attribute
106
+ # check to ensure the input is an array given that the attribute
107
107
  # is documented as an array but the input is not
108
108
  if attributes[self.class.attribute_map[key]].is_a?(Array)
109
109
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -199,5 +199,6 @@ module YNAB
199
199
  value
200
200
  end
201
201
  end
202
+
202
203
  end
203
204
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -102,7 +102,7 @@ module YNAB
102
102
  return nil unless attributes.is_a?(Hash)
103
103
  self.class.swagger_types.each_pair do |key, type|
104
104
  if type =~ /\AArray<(.*)>/i
105
- # check to ensure the input is an array given that the the attribute
105
+ # check to ensure the input is an array given that the attribute
106
106
  # is documented as an array but the input is not
107
107
  if attributes[self.class.attribute_map[key]].is_a?(Array)
108
108
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -198,5 +198,6 @@ module YNAB
198
198
  value
199
199
  end
200
200
  end
201
+
201
202
  end
202
203
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.13
10
10
 
11
11
  =end
12
12
 
@@ -88,7 +88,7 @@ module YNAB
88
88
  return nil unless attributes.is_a?(Hash)
89
89
  self.class.swagger_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
- # check to ensure the input is an array given that the the attribute
91
+ # check to ensure the input is an array given that the attribute
92
92
  # is documented as an array but the input is not
93
93
  if attributes[self.class.attribute_map[key]].is_a?(Array)
94
94
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -184,5 +184,6 @@ module YNAB
184
184
  value
185
185
  end
186
186
  end
187
+
187
188
  end
188
189
  end