ynab 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +2 -2
  4. data/Rakefile +9 -0
  5. data/config.json +2 -2
  6. data/docs/Account.md +1 -1
  7. data/docs/AccountResponse.md +1 -1
  8. data/docs/AccountWrapper.md +1 -1
  9. data/docs/AccountsApi.md +1 -1
  10. data/docs/AccountsResponse.md +1 -1
  11. data/docs/AccountsWrapper.md +1 -1
  12. data/docs/BudgetDetail.md +1 -1
  13. data/docs/BudgetDetailResponse.md +1 -1
  14. data/docs/BudgetDetailWrapper.md +1 -1
  15. data/docs/BudgetSettings.md +9 -0
  16. data/docs/BudgetSettingsResponse.md +8 -0
  17. data/docs/BudgetSettingsWrapper.md +8 -0
  18. data/docs/BudgetSummary.md +1 -1
  19. data/docs/BudgetSummaryResponse.md +1 -1
  20. data/docs/BudgetSummaryWrapper.md +1 -1
  21. data/docs/BudgetsApi.md +19 -1
  22. data/docs/BulkIdWrapper.md +1 -1
  23. data/docs/BulkIds.md +1 -1
  24. data/docs/BulkResponse.md +1 -1
  25. data/docs/BulkTransactionCreateResponse.md +2 -2
  26. data/docs/BulkTransactionIds.md +2 -2
  27. data/docs/BulkTransactions.md +1 -1
  28. data/docs/CategoriesApi.md +1 -1
  29. data/docs/CategoriesResponse.md +1 -1
  30. data/docs/Category.md +2 -1
  31. data/docs/CategoryGroup.md +1 -1
  32. data/docs/CategoryGroupWithCategories.md +1 -1
  33. data/docs/CategoryGroupsWrapper.md +1 -1
  34. data/docs/CategoryResponse.md +1 -1
  35. data/docs/CategoryWrapper.md +1 -1
  36. data/docs/CurrencyFormat.md +1 -1
  37. data/docs/DateFormat.md +1 -1
  38. data/docs/ErrorDetail.md +1 -1
  39. data/docs/ErrorResponse.md +1 -1
  40. data/docs/HybridTransaction.md +1 -1
  41. data/docs/HybridTransactionsResponse.md +1 -1
  42. data/docs/HybridTransactionsWrapper.md +1 -1
  43. data/docs/MonthDetail.md +1 -1
  44. data/docs/MonthDetailResponse.md +1 -1
  45. data/docs/MonthDetailWrapper.md +1 -1
  46. data/docs/MonthSummariesResponse.md +1 -1
  47. data/docs/MonthSummariesWrapper.md +1 -1
  48. data/docs/MonthSummary.md +1 -1
  49. data/docs/MonthsApi.md +1 -1
  50. data/docs/Payee.md +1 -1
  51. data/docs/PayeeLocation.md +1 -1
  52. data/docs/PayeeLocationResponse.md +1 -1
  53. data/docs/PayeeLocationWrapper.md +1 -1
  54. data/docs/PayeeLocationsApi.md +1 -1
  55. data/docs/PayeeLocationsResponse.md +1 -1
  56. data/docs/PayeeLocationsWrapper.md +1 -1
  57. data/docs/PayeeResponse.md +1 -1
  58. data/docs/PayeeWrapper.md +1 -1
  59. data/docs/PayeesApi.md +1 -1
  60. data/docs/PayeesResponse.md +1 -1
  61. data/docs/PayeesWrapper.md +1 -1
  62. data/docs/SaveTransaction.md +2 -2
  63. data/docs/SaveTransactionWrapper.md +1 -1
  64. data/docs/ScheduledSubTransaction.md +1 -1
  65. data/docs/ScheduledTransactionDetail.md +1 -1
  66. data/docs/ScheduledTransactionResponse.md +1 -1
  67. data/docs/ScheduledTransactionSummary.md +1 -1
  68. data/docs/ScheduledTransactionWrapper.md +1 -1
  69. data/docs/ScheduledTransactionsApi.md +1 -1
  70. data/docs/ScheduledTransactionsResponse.md +1 -1
  71. data/docs/ScheduledTransactionsWrapper.md +1 -1
  72. data/docs/SubTransaction.md +1 -1
  73. data/docs/TransactionDetail.md +1 -1
  74. data/docs/TransactionResponse.md +1 -1
  75. data/docs/TransactionSummary.md +1 -1
  76. data/docs/TransactionWrapper.md +1 -1
  77. data/docs/TransactionsApi.md +5 -2
  78. data/docs/TransactionsResponse.md +1 -1
  79. data/docs/TransactionsWrapper.md +1 -1
  80. data/docs/User.md +1 -1
  81. data/docs/UserApi.md +1 -1
  82. data/docs/UserResponse.md +1 -1
  83. data/docs/UserWrapper.md +1 -1
  84. data/examples/budget-list.rb +1 -1
  85. data/examples/budget-month.rb +1 -1
  86. data/examples/category-balance.rb +1 -1
  87. data/lib/ynab.rb +27 -15
  88. data/lib/ynab/api/accounts_api.rb +1 -1
  89. data/lib/ynab/api/budgets_api.rb +53 -1
  90. data/lib/ynab/api/categories_api.rb +1 -1
  91. data/lib/ynab/api/months_api.rb +1 -1
  92. data/lib/ynab/api/payee_locations_api.rb +1 -1
  93. data/lib/ynab/api/payees_api.rb +1 -1
  94. data/lib/ynab/api/scheduled_transactions_api.rb +1 -1
  95. data/lib/ynab/api/transactions_api.rb +21 -3
  96. data/lib/ynab/api/user_api.rb +1 -1
  97. data/lib/ynab/api_client.rb +2 -2
  98. data/lib/ynab/api_error.rb +1 -1
  99. data/lib/ynab/configuration.rb +1 -1
  100. data/lib/ynab/models/account.rb +2 -2
  101. data/lib/ynab/models/account_response.rb +2 -2
  102. data/lib/ynab/models/account_wrapper.rb +2 -2
  103. data/lib/ynab/models/accounts_response.rb +2 -2
  104. data/lib/ynab/models/accounts_wrapper.rb +2 -2
  105. data/lib/ynab/models/budget_detail.rb +2 -2
  106. data/lib/ynab/models/budget_detail_response.rb +2 -2
  107. data/lib/ynab/models/budget_detail_wrapper.rb +2 -2
  108. data/lib/ynab/models/budget_settings.rb +202 -0
  109. data/lib/ynab/models/budget_settings_response.rb +188 -0
  110. data/lib/ynab/models/budget_settings_wrapper.rb +188 -0
  111. data/lib/ynab/models/budget_summary.rb +2 -2
  112. data/lib/ynab/models/budget_summary_response.rb +2 -2
  113. data/lib/ynab/models/budget_summary_wrapper.rb +2 -2
  114. data/lib/ynab/models/bulk_id_wrapper.rb +2 -2
  115. data/lib/ynab/models/bulk_ids.rb +2 -2
  116. data/lib/ynab/models/bulk_response.rb +2 -2
  117. data/lib/ynab/models/bulk_transaction_create_response.rb +2 -2
  118. data/lib/ynab/models/bulk_transaction_ids.rb +2 -2
  119. data/lib/ynab/models/bulk_transactions.rb +2 -2
  120. data/lib/ynab/models/categories_response.rb +2 -2
  121. data/lib/ynab/models/category.rb +13 -3
  122. data/lib/ynab/models/category_group.rb +2 -2
  123. data/lib/ynab/models/category_group_with_categories.rb +2 -2
  124. data/lib/ynab/models/category_groups_wrapper.rb +2 -2
  125. data/lib/ynab/models/category_response.rb +2 -2
  126. data/lib/ynab/models/category_wrapper.rb +2 -2
  127. data/lib/ynab/models/currency_format.rb +2 -2
  128. data/lib/ynab/models/date_format.rb +2 -2
  129. data/lib/ynab/models/error_detail.rb +2 -2
  130. data/lib/ynab/models/error_response.rb +2 -2
  131. data/lib/ynab/models/hybrid_transaction.rb +2 -2
  132. data/lib/ynab/models/hybrid_transactions_response.rb +2 -2
  133. data/lib/ynab/models/hybrid_transactions_wrapper.rb +2 -2
  134. data/lib/ynab/models/month_detail.rb +2 -2
  135. data/lib/ynab/models/month_detail_response.rb +2 -2
  136. data/lib/ynab/models/month_detail_wrapper.rb +2 -2
  137. data/lib/ynab/models/month_summaries_response.rb +2 -2
  138. data/lib/ynab/models/month_summaries_wrapper.rb +2 -2
  139. data/lib/ynab/models/month_summary.rb +2 -2
  140. data/lib/ynab/models/payee.rb +2 -2
  141. data/lib/ynab/models/payee_location.rb +2 -2
  142. data/lib/ynab/models/payee_location_response.rb +2 -2
  143. data/lib/ynab/models/payee_location_wrapper.rb +2 -2
  144. data/lib/ynab/models/payee_locations_response.rb +2 -2
  145. data/lib/ynab/models/payee_locations_wrapper.rb +2 -2
  146. data/lib/ynab/models/payee_response.rb +2 -2
  147. data/lib/ynab/models/payee_wrapper.rb +2 -2
  148. data/lib/ynab/models/payees_response.rb +2 -2
  149. data/lib/ynab/models/payees_wrapper.rb +2 -2
  150. data/lib/ynab/models/save_transaction.rb +3 -3
  151. data/lib/ynab/models/save_transaction_wrapper.rb +2 -2
  152. data/lib/ynab/models/scheduled_sub_transaction.rb +2 -2
  153. data/lib/ynab/models/scheduled_transaction_detail.rb +2 -2
  154. data/lib/ynab/models/scheduled_transaction_response.rb +2 -2
  155. data/lib/ynab/models/scheduled_transaction_summary.rb +2 -2
  156. data/lib/ynab/models/scheduled_transaction_wrapper.rb +2 -2
  157. data/lib/ynab/models/scheduled_transactions_response.rb +2 -2
  158. data/lib/ynab/models/scheduled_transactions_wrapper.rb +2 -2
  159. data/lib/ynab/models/sub_transaction.rb +2 -2
  160. data/lib/ynab/models/transaction_detail.rb +2 -2
  161. data/lib/ynab/models/transaction_response.rb +2 -2
  162. data/lib/ynab/models/transaction_summary.rb +2 -2
  163. data/lib/ynab/models/transaction_wrapper.rb +2 -2
  164. data/lib/ynab/models/transactions_response.rb +2 -2
  165. data/lib/ynab/models/transactions_wrapper.rb +2 -2
  166. data/lib/ynab/models/user.rb +2 -2
  167. data/lib/ynab/models/user_response.rb +2 -2
  168. data/lib/ynab/models/user_wrapper.rb +2 -2
  169. data/lib/ynab/version.rb +2 -2
  170. data/pkg/ynab-1.0.0.gem +0 -0
  171. data/pkg/ynab-1.1.0.gem +0 -0
  172. data/spec-v1-swagger.json +105 -3
  173. data/spec/api/accounts_spec.rb +13 -4
  174. data/spec/api/budgets_spec.rb +4 -4
  175. data/spec/api/categories_spec.rb +4 -4
  176. data/spec/api/months_spec.rb +4 -4
  177. data/spec/api/payee_locations_spec.rb +4 -4
  178. data/spec/api/payees_spec.rb +4 -4
  179. data/spec/api/scheduled_transactions_spec.rb +4 -4
  180. data/spec/api/transactions_spec.rb +4 -4
  181. data/swagger-templates/gem.mustache +83 -0
  182. data/ynab.gemspec +1 -1
  183. metadata +11 -2
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
12
12
 
13
13
  require 'date'
14
14
 
15
- module YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
184
+ temp_model = YNAB.const_get(type).new
185
185
  temp_model.build_from_hash(value)
186
186
  end
187
187
  end
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
12
12
 
13
13
  require 'date'
14
14
 
15
- module YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 is not included or has a null value, payee_name will be used to create or use an existing payee.
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
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 YnabApi
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 = YnabApi.const_get(type).new
420
+ temp_model = YNAB.const_get(type).new
421
421
  temp_model.build_from_hash(value)
422
422
  end
423
423
  end