ynab 1.28.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/ynab/api/accounts_api.rb +7 -7
- data/lib/ynab/api/budgets_api.rb +5 -5
- data/lib/ynab/api/categories_api.rb +9 -9
- data/lib/ynab/api/deprecated_api.rb +3 -3
- data/lib/ynab/api/months_api.rb +5 -5
- data/lib/ynab/api/payee_locations_api.rb +7 -7
- data/lib/ynab/api/payees_api.rb +5 -5
- data/lib/ynab/api/scheduled_transactions_api.rb +5 -5
- data/lib/ynab/api/transactions_api.rb +21 -21
- data/lib/ynab/api/user_api.rb +1 -1
- data/lib/ynab/api_client.rb +1 -1
- data/lib/ynab/configuration.rb +2 -2
- data/lib/ynab/models/account.rb +1 -1
- data/lib/ynab/models/account_response.rb +1 -1
- data/lib/ynab/models/account_response_data.rb +1 -1
- data/lib/ynab/models/account_type.rb +1 -1
- data/lib/ynab/models/accounts_response.rb +1 -1
- data/lib/ynab/models/accounts_response_data.rb +1 -1
- data/lib/ynab/models/budget_detail.rb +1 -1
- data/lib/ynab/models/budget_detail_response.rb +1 -1
- data/lib/ynab/models/budget_detail_response_data.rb +1 -1
- data/lib/ynab/models/budget_settings.rb +1 -1
- data/lib/ynab/models/budget_settings_response.rb +1 -1
- data/lib/ynab/models/budget_settings_response_data.rb +1 -1
- data/lib/ynab/models/budget_summary.rb +1 -1
- data/lib/ynab/models/budget_summary_response.rb +1 -1
- data/lib/ynab/models/budget_summary_response_data.rb +1 -1
- data/lib/ynab/models/bulk_response.rb +1 -1
- data/lib/ynab/models/bulk_response_data.rb +1 -1
- data/lib/ynab/models/bulk_response_data_bulk.rb +1 -1
- data/lib/ynab/models/bulk_transactions.rb +1 -1
- data/lib/ynab/models/categories_response.rb +1 -1
- data/lib/ynab/models/categories_response_data.rb +1 -1
- data/lib/ynab/models/category.rb +1 -1
- data/lib/ynab/models/category_group.rb +1 -1
- data/lib/ynab/models/category_group_with_categories.rb +1 -1
- data/lib/ynab/models/category_response.rb +1 -1
- data/lib/ynab/models/category_response_data.rb +1 -1
- data/lib/ynab/models/currency_format.rb +1 -1
- data/lib/ynab/models/date_format.rb +1 -1
- data/lib/ynab/models/error_detail.rb +1 -1
- data/lib/ynab/models/error_response.rb +1 -1
- data/lib/ynab/models/hybrid_transaction.rb +2 -31
- data/lib/ynab/models/hybrid_transactions_response.rb +1 -1
- data/lib/ynab/models/hybrid_transactions_response_data.rb +1 -1
- data/lib/ynab/models/loan_account_periodic_value.rb +1 -1
- data/lib/ynab/models/month_detail.rb +1 -1
- data/lib/ynab/models/month_detail_response.rb +1 -1
- data/lib/ynab/models/month_detail_response_data.rb +1 -1
- data/lib/ynab/models/month_summaries_response.rb +1 -1
- data/lib/ynab/models/month_summaries_response_data.rb +1 -1
- data/lib/ynab/models/month_summary.rb +1 -1
- data/lib/ynab/models/patch_month_category_wrapper.rb +1 -1
- data/lib/ynab/models/patch_transactions_wrapper.rb +1 -1
- data/lib/ynab/models/payee.rb +1 -1
- data/lib/ynab/models/payee_location.rb +1 -1
- data/lib/ynab/models/payee_location_response.rb +1 -1
- data/lib/ynab/models/payee_location_response_data.rb +1 -1
- data/lib/ynab/models/payee_locations_response.rb +1 -1
- data/lib/ynab/models/payee_locations_response_data.rb +1 -1
- data/lib/ynab/models/payee_response.rb +1 -1
- data/lib/ynab/models/payee_response_data.rb +1 -1
- data/lib/ynab/models/payees_response.rb +1 -1
- data/lib/ynab/models/payees_response_data.rb +1 -1
- data/lib/ynab/models/post_account_wrapper.rb +1 -1
- data/lib/ynab/models/post_transactions_wrapper.rb +1 -1
- data/lib/ynab/models/put_transaction_wrapper.rb +1 -1
- data/lib/ynab/models/save_account.rb +1 -1
- data/lib/ynab/models/save_category_response.rb +1 -1
- data/lib/ynab/models/save_category_response_data.rb +1 -1
- data/lib/ynab/models/save_month_category.rb +1 -1
- data/lib/ynab/models/save_sub_transaction.rb +1 -1
- data/lib/ynab/models/save_transaction.rb +1 -1
- data/lib/ynab/models/save_transaction_with_id.rb +1 -1
- data/lib/ynab/models/save_transaction_with_optional_fields.rb +1 -1
- data/lib/ynab/models/save_transactions_response.rb +1 -1
- data/lib/ynab/models/save_transactions_response_data.rb +1 -1
- data/lib/ynab/models/scheduled_sub_transaction.rb +1 -1
- data/lib/ynab/models/scheduled_transaction_detail.rb +2 -1
- data/lib/ynab/models/scheduled_transaction_response.rb +1 -1
- data/lib/ynab/models/scheduled_transaction_response_data.rb +1 -1
- data/lib/ynab/models/scheduled_transaction_summary.rb +1 -1
- data/lib/ynab/models/scheduled_transactions_response.rb +1 -1
- data/lib/ynab/models/scheduled_transactions_response_data.rb +1 -1
- data/lib/ynab/models/sub_transaction.rb +1 -1
- data/lib/ynab/models/transaction_detail.rb +2 -31
- data/lib/ynab/models/transaction_response.rb +1 -1
- data/lib/ynab/models/transaction_response_data.rb +1 -1
- data/lib/ynab/models/transaction_summary.rb +1 -31
- data/lib/ynab/models/transactions_import_response.rb +1 -1
- data/lib/ynab/models/transactions_import_response_data.rb +1 -1
- data/lib/ynab/models/transactions_response.rb +1 -1
- data/lib/ynab/models/transactions_response_data.rb +1 -1
- data/lib/ynab/models/user.rb +1 -1
- data/lib/ynab/models/user_response.rb +1 -1
- data/lib/ynab/models/user_response_data.rb +1 -1
- data/lib/ynab/version.rb +1 -1
- data/lib/ynab.rb +2 -2
- metadata +37 -37
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#YNAB API Endpoints
|
3
3
|
|
4
|
-
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.
|
4
|
+
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#YNAB API Endpoints
|
3
3
|
|
4
|
-
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.
|
4
|
+
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
data/lib/ynab/models/user.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#YNAB API Endpoints
|
3
3
|
|
4
|
-
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.
|
4
|
+
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#YNAB API Endpoints
|
3
3
|
|
4
|
-
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.
|
4
|
+
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#YNAB API Endpoints
|
3
3
|
|
4
|
-
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.
|
4
|
+
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
data/lib/ynab/version.rb
CHANGED
data/lib/ynab.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#YNAB API Endpoints
|
3
3
|
|
4
|
-
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.
|
4
|
+
#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
|
5
5
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
@@ -118,7 +118,7 @@ require 'ynab/overrides/transactions_api'
|
|
118
118
|
|
119
119
|
module YNAB
|
120
120
|
class API
|
121
|
-
def initialize(access_token, host = 'api.
|
121
|
+
def initialize(access_token, host = 'api.ynab.com', useHttps = true)
|
122
122
|
config = Configuration.default
|
123
123
|
config.api_key['Authorization'] = access_token
|
124
124
|
config.api_key_prefix['Authorization'] = 'Bearer'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ynab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- You Need A Budget, LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -90,9 +90,9 @@ dependencies:
|
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: 3.0.1
|
93
|
-
description: Ruby gem wrapper for the YNAB API. Read the documentation at https://api.
|
93
|
+
description: Ruby gem wrapper for the YNAB API. Read the documentation at https://api.ynab.com
|
94
94
|
email:
|
95
|
-
- api@
|
95
|
+
- api@ynab.com
|
96
96
|
executables: []
|
97
97
|
extensions: []
|
98
98
|
extra_rdoc_files: []
|
@@ -270,54 +270,54 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
270
|
- !ruby/object:Gem::Version
|
271
271
|
version: '0'
|
272
272
|
requirements: []
|
273
|
-
rubygems_version: 3.4.
|
273
|
+
rubygems_version: 3.4.10
|
274
274
|
signing_key:
|
275
275
|
specification_version: 4
|
276
276
|
summary: YNAB API Endpoints Ruby Gem
|
277
277
|
test_files:
|
278
|
-
- spec/api/scheduled_transactions_spec.rb
|
279
|
-
- spec/api/payees_spec.rb
|
280
|
-
- spec/api/categories_spec.rb
|
281
278
|
- spec/api/budgets_spec.rb
|
279
|
+
- spec/api/months_spec.rb
|
280
|
+
- spec/api/payees_spec.rb
|
282
281
|
- spec/api/accounts_spec.rb
|
282
|
+
- spec/api/categories_spec.rb
|
283
283
|
- spec/api/transactions_spec.rb
|
284
|
-
- spec/api/
|
284
|
+
- spec/api/scheduled_transactions_spec.rb
|
285
285
|
- spec/api/payee_locations_spec.rb
|
286
286
|
- spec/api_error_spec.rb
|
287
|
-
- spec/fixtures/vcr_cassettes/
|
288
|
-
- spec/fixtures/vcr_cassettes/multiple_transactions.yml
|
289
|
-
- spec/fixtures/vcr_cassettes/bulk_transactions.yml
|
290
|
-
- spec/fixtures/vcr_cassettes/categories.yml
|
291
|
-
- spec/fixtures/vcr_cassettes/categories_unauthorized.yml
|
287
|
+
- spec/fixtures/vcr_cassettes/payee_transactions.yml
|
292
288
|
- spec/fixtures/vcr_cassettes/payees.yml
|
293
|
-
- spec/fixtures/vcr_cassettes/
|
294
|
-
- spec/fixtures/vcr_cassettes/create_account.yml
|
295
|
-
- spec/fixtures/vcr_cassettes/budget.yml
|
296
|
-
- spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
|
297
|
-
- spec/fixtures/vcr_cassettes/payee_location.yml
|
298
|
-
- spec/fixtures/vcr_cassettes/scheduled_transactions.yml
|
299
|
-
- spec/fixtures/vcr_cassettes/create_transaction.yml
|
300
|
-
- spec/fixtures/vcr_cassettes/patch_month_category.yml
|
301
|
-
- spec/fixtures/vcr_cassettes/create_transactions.yml
|
302
|
-
- spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
|
303
|
-
- spec/fixtures/vcr_cassettes/month.yml
|
289
|
+
- spec/fixtures/vcr_cassettes/account.yml
|
304
290
|
- spec/fixtures/vcr_cassettes/months.yml
|
305
|
-
- spec/fixtures/vcr_cassettes/category_transactions.yml
|
306
|
-
- spec/fixtures/vcr_cassettes/update_transaction.yml
|
307
|
-
- spec/fixtures/vcr_cassettes/transaction.yml
|
308
|
-
- spec/fixtures/vcr_cassettes/scheduled_transaction.yml
|
309
|
-
- spec/fixtures/vcr_cassettes/payee_locations.yml
|
310
291
|
- spec/fixtures/vcr_cassettes/months_unauthorized.yml
|
311
|
-
- spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
|
312
|
-
- spec/fixtures/vcr_cassettes/transactions.yml
|
313
|
-
- spec/fixtures/vcr_cassettes/account.yml
|
314
292
|
- spec/fixtures/vcr_cassettes/accounts.yml
|
293
|
+
- spec/fixtures/vcr_cassettes/budgets.yml
|
294
|
+
- spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml
|
295
|
+
- spec/fixtures/vcr_cassettes/scheduled_transactions.yml
|
296
|
+
- spec/fixtures/vcr_cassettes/update_transactions.yml
|
297
|
+
- spec/fixtures/vcr_cassettes/patch_month_category.yml
|
298
|
+
- spec/fixtures/vcr_cassettes/category_transactions.yml
|
299
|
+
- spec/fixtures/vcr_cassettes/payee_location.yml
|
315
300
|
- spec/fixtures/vcr_cassettes/payees_unauthorized.yml
|
301
|
+
- spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
|
302
|
+
- spec/fixtures/vcr_cassettes/bulk_transactions.yml
|
303
|
+
- spec/fixtures/vcr_cassettes/month.yml
|
304
|
+
- spec/fixtures/vcr_cassettes/transactions.yml
|
305
|
+
- spec/fixtures/vcr_cassettes/payee_locations.yml
|
306
|
+
- spec/fixtures/vcr_cassettes/budget.yml
|
307
|
+
- spec/fixtures/vcr_cassettes/categories_unauthorized.yml
|
308
|
+
- spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml
|
309
|
+
- spec/fixtures/vcr_cassettes/scheduled_transaction.yml
|
310
|
+
- spec/fixtures/vcr_cassettes/create_account.yml
|
311
|
+
- spec/fixtures/vcr_cassettes/categories.yml
|
312
|
+
- spec/fixtures/vcr_cassettes/category.yml
|
313
|
+
- spec/fixtures/vcr_cassettes/update_transaction.yml
|
314
|
+
- spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
|
315
|
+
- spec/fixtures/vcr_cassettes/create_transaction.yml
|
316
|
+
- spec/fixtures/vcr_cassettes/create_transactions.yml
|
316
317
|
- spec/fixtures/vcr_cassettes/payee.yml
|
317
|
-
- spec/fixtures/vcr_cassettes/
|
318
|
-
- spec/fixtures/vcr_cassettes/payee_transactions.yml
|
318
|
+
- spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
|
319
319
|
- spec/fixtures/vcr_cassettes/import_transactions.yml
|
320
|
-
- spec/fixtures/vcr_cassettes/
|
321
|
-
- spec/fixtures/vcr_cassettes/
|
320
|
+
- spec/fixtures/vcr_cassettes/multiple_transactions.yml
|
321
|
+
- spec/fixtures/vcr_cassettes/transaction.yml
|
322
322
|
- spec/models/transaction_detail_spec.rb
|
323
323
|
- spec/spec_helper.rb
|