ynab 3.4.0 → 3.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60c7893746e3928e8c08f17eea7e059d252453dd6e88c3d759849ccdbb407b86
4
- data.tar.gz: 9309fb83f548172ab7e0b0b527459e9a75492bb07cb1f4fa41d7897a3cdd68c9
3
+ metadata.gz: 4e7cc95c27139444ec433935a9fc17e06f771ae4a4d021f4fbecade36387cb18
4
+ data.tar.gz: e7c5352cfdc082da9f48a8a2f66a1b0c174eab6337c6be50e3a16360a4ba1527
5
5
  SHA512:
6
- metadata.gz: 30a0f7f2c0803398e77d4c55c352af4f5a8b84e5d323773f403816ce09a5422fb67a2a831c9a057258ad660dfb91126fa2a894547b53af12f13740b304ae5fb7
7
- data.tar.gz: 9e631adfaff0f9232074dae1b5b9fc96f8b428d70b9e75e79cc4aa33f57d7e53e507ab5294c29d2a6e830f974c8950cf51138ccaea45a99b17ee41ecf3e18884
6
+ metadata.gz: ca7f1029e4c876b0d4e877ec7c26de5ed44bf3af089a57171ba299e9de169ad5e5ec53619d667cdb65c41be338654fea9b1529365220ec8e5af353dc758c3193
7
+ data.tar.gz: 51f288bf18cc87fe4ac2994b409eac0396afdc7dcea6e802fed6c3bff3f69a8e16962dd7a04df4eb36bb58940a722382bf9e6382fd5ceb0a74e685adb57d7d53
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ynab (3.3.0)
4
+ ynab (3.5.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **account_id** | **String** | | |
8
- | **date** | **Date** | The scheduled transaction date in ISO format (e.g. 2016-12-01). | |
8
+ | **date** | **Date** | The scheduled transaction date in ISO format (e.g. 2016-12-01). This should be a future date no more than 5 years into the future. | |
9
9
  | **amount** | **Integer** | The scheduled transaction amount in milliunits format. | [optional] |
10
10
  | **payee_id** | **String** | The payee for the scheduled transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as `transfer_payee_id` on the account resource. | [optional] |
11
11
  | **payee_name** | **String** | The payee name for the the scheduled transaction. 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 payee with the same name or (2) creation of a new payee. | [optional] |
@@ -15,7 +15,7 @@ All URIs are relative to *https://api.ynab.com/v1*
15
15
 
16
16
  Create a single scheduled transaction
17
17
 
18
- Creates a single scheduled transaction.
18
+ Creates a single scheduled transaction (a transaction with a future date).
19
19
 
20
20
  ### Parameters
21
21
 
@@ -17,7 +17,7 @@ module YNAB
17
17
  @api_client = api_client
18
18
  end
19
19
  # Create a single scheduled transaction
20
- # Creates a single scheduled transaction.
20
+ # Creates a single scheduled transaction (a transaction with a future date).
21
21
  # @param budget_id [String] 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.ynab.com/#oauth-default-budget).
22
22
  # @param data [PostScheduledTransactionWrapper] The scheduled transaction to create
23
23
  # @param [Hash] opts the optional parameters
@@ -28,7 +28,7 @@ module YNAB
28
28
  end
29
29
 
30
30
  # Create a single scheduled transaction
31
- # Creates a single scheduled transaction.
31
+ # Creates a single scheduled transaction (a transaction with a future date).
32
32
  # @param budget_id [String] 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.ynab.com/#oauth-default-budget).
33
33
  # @param data [PostScheduledTransactionWrapper] The scheduled transaction to create
34
34
  # @param [Hash] opts the optional parameters
@@ -41,8 +41,12 @@ module YNAB
41
41
  # @param [String] The enum value in the form of the string
42
42
  # @return [String] The enum value
43
43
  def build_from_hash(value)
44
- return value if AccountType.all_vars.include?(value)
45
- raise "Invalid ENUM value #{value} for class #AccountType"
44
+ if AccountType.all_vars.include?(value)
45
+ return value
46
+ else
47
+ return nil
48
+ end
46
49
  end
47
50
  end
51
+
48
52
  end
@@ -192,8 +192,8 @@ module YNAB
192
192
  # Check to see if the all the properties in the model are valid
193
193
  # @return true if the model is valid
194
194
  def valid?
195
- return false if !@payee_name.nil? && @payee_name.to_s.length > 50
196
- return false if !@memo.nil? && @memo.to_s.length > 200
195
+ return false if !@payee_name.nil? && @payee_name.to_s.length > 200
196
+ return false if !@memo.nil? && @memo.to_s.length > 500
197
197
  true
198
198
  end
199
199
 
@@ -202,8 +202,8 @@ module YNAB
202
202
  # Check to see if the all the properties in the model are valid
203
203
  # @return true if the model is valid
204
204
  def valid?
205
- return false if !@payee_name.nil? && @payee_name.to_s.length > 50
206
- return false if !@memo.nil? && @memo.to_s.length > 200
205
+ return false if !@payee_name.nil? && @payee_name.to_s.length > 200
206
+ return false if !@memo.nil? && @memo.to_s.length > 500
207
207
  return false if !@import_id.nil? && @import_id.to_s.length > 36
208
208
  true
209
209
  end
@@ -14,7 +14,7 @@ module YNAB
14
14
  class SaveScheduledTransaction
15
15
  attr_accessor :account_id
16
16
 
17
- # The scheduled transaction date in ISO format (e.g. 2016-12-01).
17
+ # The scheduled transaction date in ISO format (e.g. 2016-12-01). This should be a future date no more than 5 years into the future.
18
18
  attr_accessor :date
19
19
 
20
20
  # The scheduled transaction amount in milliunits format.
@@ -167,8 +167,8 @@ module YNAB
167
167
  def valid?
168
168
  return false if @account_id.nil?
169
169
  return false if @date.nil?
170
- return false if !@payee_name.nil? && @payee_name.to_s.length > 50
171
- return false if !@memo.nil? && @memo.to_s.length > 200
170
+ return false if !@payee_name.nil? && @payee_name.to_s.length > 200
171
+ return false if !@memo.nil? && @memo.to_s.length > 500
172
172
  true
173
173
  end
174
174
 
@@ -110,8 +110,8 @@ module YNAB
110
110
  # @return true if the model is valid
111
111
  def valid?
112
112
  return false if @amount.nil?
113
- return false if !@payee_name.nil? && @payee_name.to_s.length > 50
114
- return false if !@memo.nil? && @memo.to_s.length > 200
113
+ return false if !@payee_name.nil? && @payee_name.to_s.length > 200
114
+ return false if !@memo.nil? && @memo.to_s.length > 500
115
115
  true
116
116
  end
117
117
 
@@ -212,8 +212,8 @@ module YNAB
212
212
  # Check to see if the all the properties in the model are valid
213
213
  # @return true if the model is valid
214
214
  def valid?
215
- return false if !@payee_name.nil? && @payee_name.to_s.length > 50
216
- return false if !@memo.nil? && @memo.to_s.length > 200
215
+ return false if !@payee_name.nil? && @payee_name.to_s.length > 200
216
+ return false if !@memo.nil? && @memo.to_s.length > 500
217
217
  return false if !@import_id.nil? && @import_id.to_s.length > 36
218
218
  true
219
219
  end
@@ -185,8 +185,8 @@ module YNAB
185
185
  # Check to see if the all the properties in the model are valid
186
186
  # @return true if the model is valid
187
187
  def valid?
188
- return false if !@payee_name.nil? && @payee_name.to_s.length > 50
189
- return false if !@memo.nil? && @memo.to_s.length > 200
188
+ return false if !@payee_name.nil? && @payee_name.to_s.length > 200
189
+ return false if !@memo.nil? && @memo.to_s.length > 500
190
190
  true
191
191
  end
192
192
 
@@ -41,8 +41,12 @@ module YNAB
41
41
  # @param [String] The enum value in the form of the string
42
42
  # @return [String] The enum value
43
43
  def build_from_hash(value)
44
- return value if ScheduledTransactionFrequency.all_vars.include?(value)
45
- raise "Invalid ENUM value #{value} for class #ScheduledTransactionFrequency"
44
+ if ScheduledTransactionFrequency.all_vars.include?(value)
45
+ return value
46
+ else
47
+ return nil
48
+ end
46
49
  end
47
50
  end
51
+
48
52
  end
@@ -31,8 +31,12 @@ module YNAB
31
31
  # @param [String] The enum value in the form of the string
32
32
  # @return [String] The enum value
33
33
  def build_from_hash(value)
34
- return value if TransactionClearedStatus.all_vars.include?(value)
35
- raise "Invalid ENUM value #{value} for class #TransactionClearedStatus"
34
+ if TransactionClearedStatus.all_vars.include?(value)
35
+ return value
36
+ else
37
+ return nil
38
+ end
36
39
  end
37
40
  end
41
+
38
42
  end
@@ -35,8 +35,12 @@ module YNAB
35
35
  # @param [String] The enum value in the form of the string
36
36
  # @return [String] The enum value
37
37
  def build_from_hash(value)
38
- return value if TransactionFlagColor.all_vars.include?(value)
39
- raise "Invalid ENUM value #{value} for class #TransactionFlagColor"
38
+ if TransactionFlagColor.all_vars.include?(value)
39
+ return value
40
+ else
41
+ return nil
42
+ end
40
43
  end
41
44
  end
45
+
42
46
  end
data/lib/ynab/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module YNAB
2
- VERSION = '3.4.0'
2
+ VERSION = '3.6.0'
3
3
  end
data/open_api_spec.yaml CHANGED
@@ -6,7 +6,7 @@ info:
6
6
  upon HTTPS for transport. We respond with meaningful HTTP response codes and
7
7
  if an error occurs, we include error details in the response body. API
8
8
  Documentation is at https://api.ynab.com
9
- version: 1.72.0
9
+ version: 1.72.1
10
10
  servers:
11
11
  - url: https://api.ynab.com/v1
12
12
  security:
@@ -1544,7 +1544,7 @@ paths:
1544
1544
  - Scheduled Transactions
1545
1545
  summary: Create a single scheduled transaction
1546
1546
  description: >-
1547
- Creates a single scheduled transaction.
1547
+ Creates a single scheduled transaction (a transaction with a future date).
1548
1548
  operationId: createScheduledTransaction
1549
1549
  parameters:
1550
1550
  - name: budget_id
@@ -2515,7 +2515,7 @@ components:
2515
2515
  `transfer_payee_id` on the account resource.
2516
2516
  format: uuid
2517
2517
  payee_name:
2518
- maxLength: 50
2518
+ maxLength: 200
2519
2519
  type: string
2520
2520
  nullable: true
2521
2521
  description: >-
@@ -2536,7 +2536,7 @@ components:
2536
2536
  be ignored if supplied.
2537
2537
  format: uuid
2538
2538
  memo:
2539
- maxLength: 200
2539
+ maxLength: 500
2540
2540
  type: string
2541
2541
  nullable: true
2542
2542
  cleared:
@@ -2571,7 +2571,7 @@ components:
2571
2571
  description: The payee for the subtransaction.
2572
2572
  format: uuid
2573
2573
  payee_name:
2574
- maxLength: 50
2574
+ maxLength: 200
2575
2575
  type: string
2576
2576
  nullable: true
2577
2577
  description: >-
@@ -2588,7 +2588,7 @@ components:
2588
2588
  are not permitted and will be ignored if supplied.
2589
2589
  format: uuid
2590
2590
  memo:
2591
- maxLength: 200
2591
+ maxLength: 500
2592
2592
  type: string
2593
2593
  nullable: true
2594
2594
  SaveTransactionsResponse:
@@ -3005,7 +3005,7 @@ components:
3005
3005
  date:
3006
3006
  type: string
3007
3007
  description: >-
3008
- The scheduled transaction date in ISO format (e.g. 2016-12-01).
3008
+ The scheduled transaction date in ISO format (e.g. 2016-12-01). This should be a future date no more than 5 years into the future.
3009
3009
  format: date
3010
3010
  amount:
3011
3011
  type: integer
@@ -3022,7 +3022,7 @@ components:
3022
3022
  `transfer_payee_id` on the account resource.
3023
3023
  format: uuid
3024
3024
  payee_name:
3025
- maxLength: 50
3025
+ maxLength: 200
3026
3026
  type: string
3027
3027
  nullable: true
3028
3028
  description: >-
@@ -3037,7 +3037,7 @@ components:
3037
3037
  Creating a split scheduled transaction is not currently supported.
3038
3038
  format: uuid
3039
3039
  memo:
3040
- maxLength: 200
3040
+ maxLength: 500
3041
3041
  type: string
3042
3042
  nullable: true
3043
3043
  flag_color:
@@ -44,6 +44,18 @@ describe 'transactions' do
44
44
  expect(response.data.transactions.length).to be 2
45
45
  end
46
46
  end
47
+
48
+ it 'gracefully handles invalid flag_color values' do
49
+ # transactions_invalid_flags contains transactions with invalid/unsupported flag_color values
50
+ VCR.use_cassette("transactions_invalid_flags") do
51
+ response = instance.get_transactions(budget_id)
52
+ expect(client.last_request.response.options[:code]).to be 200
53
+ expect(response.data.transactions.length).to be 2
54
+ # We expect the flag_color to have been converted to nil for these transactions
55
+ expect(response.data.transactions[0].flag_color).to be_nil
56
+ expect(response.data.transactions[1].flag_color).to be_nil
57
+ end
58
+ end
47
59
  end
48
60
 
49
61
  describe 'GET /budgets/{budget_id}/category/{category_id}/transactions' do
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - api_client/ruby/0.1.0
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ Authorization:
17
+ - Bearer 9f1a2c4842b614a771aaae9220fc54ae835e298c4654dc2c9205fc1d7bd1a045
18
+ Expect:
19
+ - ''
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Vary:
28
+ - Accept-Encoding, Origin
29
+ ETag:
30
+ - W/"faa32c94f0e94eebee572fe3def08d83"
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - d290c58c-2261-4564-a267-5ea1ec878fdf
35
+ X-Runtime:
36
+ - '0.197369'
37
+ Transfer-Encoding:
38
+ - chunked
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"data":{"transactions":[{"id":"1f9d45f6-8ba5-476b-8cff-209b3791bd83","date":"2018-02-15","amount":1000000,"memo":null,"cleared":"cleared","approved":true,"flag_color":"","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":"2141b5d8-5b9b-4a17-be45-3f4a9ac397ec","category_id":"26513650-523e-4e7a-ac0d-f6e78d0a8a03","transfer_account_id":null,"import_id":null,"subtransactions":[]},{"id":"81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4","date":"2018-02-15","amount":-2000,"memo":"","cleared":"uncleared","approved":true,"flag_color":"invalid","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":"200e6eb1-02fc-4af6-be26-27c5740bb949","category_id":null,"transfer_account_id":null,"import_id":null,"subtransactions":[]}]}}'
42
+ http_version: '1.1'
43
+ adapter_metadata:
44
+ effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
45
+ recorded_at: Thu, 15 Feb 2018 19:00:01 GMT
46
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,26 @@
1
+ class {{classname}}{{#allowableValues}}{{#enumVars}}
2
+ {{{name}}} = {{{value}}}.freeze{{/enumVars}}
3
+
4
+ {{/allowableValues}}
5
+ def self.all_vars
6
+ @all_vars ||= [{{#allowableValues}}{{#enumVars}}{{{name}}}{{^-last}}, {{/-last}}{{/enumVars}}{{/allowableValues}}].freeze
7
+ end
8
+
9
+ # Builds the enum from string
10
+ # @param [String] The enum value in the form of the string
11
+ # @return [String] The enum value
12
+ def self.build_from_hash(value)
13
+ new.build_from_hash(value)
14
+ end
15
+
16
+ # Builds the enum from string
17
+ # @param [String] The enum value in the form of the string
18
+ # @return [String] The enum value
19
+ def build_from_hash(value)
20
+ if {{classname}}.all_vars.include?(value)
21
+ return value
22
+ else
23
+ return nil
24
+ end
25
+ end
26
+ end
data/ynab.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.email = ["api@ynab.com"]
21
21
  s.homepage = "https://github.com/ynab/ynab-sdk-ruby"
22
22
  s.summary = "YNAB API Client for Ruby"
23
- s.description = "Ruby gem wrapper for the YNAB API. Generated from server specification version 1.72.0 using OpenAPI Generator version 7.7.0."
23
+ s.description = "Ruby gem wrapper for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.72.1 using OpenAPI Generator version 7.7.0."
24
24
  s.license = "Apache-2.0"
25
25
  s.required_ruby_version = ">= 3.3"
26
26
  s.metadata = {}
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: 3.4.0
4
+ version: 3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - YNAB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-11 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -50,8 +50,9 @@ dependencies:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 3.6.0
53
- description: Ruby gem wrapper for the YNAB API. Generated from server specification
54
- version 1.72.0 using OpenAPI Generator version 7.7.0.
53
+ description: Ruby gem wrapper for the YNAB API. API documentation available at https://api.ynab.com.
54
+ Generated from server specification version 1.72.1 using OpenAPI Generator version
55
+ 7.7.0.
55
56
  email:
56
57
  - api@ynab.com
57
58
  executables: []
@@ -64,7 +65,6 @@ files:
64
65
  - LICENSE.md
65
66
  - README.md
66
67
  - Rakefile
67
- - config.json
68
68
  - config.yaml
69
69
  - docs/Account.md
70
70
  - docs/AccountResponse.md
@@ -332,6 +332,7 @@ files:
332
332
  - spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml
333
333
  - spec/fixtures/vcr_cassettes/transaction.yml
334
334
  - spec/fixtures/vcr_cassettes/transactions.yml
335
+ - spec/fixtures/vcr_cassettes/transactions_invalid_flags.yml
335
336
  - spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
336
337
  - spec/fixtures/vcr_cassettes/update_transaction.yml
337
338
  - spec/fixtures/vcr_cassettes/update_transactions.yml
@@ -344,6 +345,7 @@ files:
344
345
  - templates/api_info.mustache
345
346
  - templates/gem.mustache
346
347
  - templates/gemspec.mustache
348
+ - templates/partial_model_enum_class.mustache
347
349
  - templates/partial_model_generic.mustache
348
350
  - templates/partial_model_generic_doc.mustache
349
351
  - ynab.gemspec
@@ -366,55 +368,56 @@ required_rubygems_version: !ruby/object:Gem::Requirement
366
368
  - !ruby/object:Gem::Version
367
369
  version: '0'
368
370
  requirements: []
369
- rubygems_version: 3.5.15
371
+ rubygems_version: 3.5.18
370
372
  signing_key:
371
373
  specification_version: 4
372
374
  summary: YNAB API Client for Ruby
373
375
  test_files:
374
- - spec/api/categories_spec.rb
375
- - spec/api/budgets_spec.rb
376
- - spec/api/scheduled_transactions_spec.rb
377
- - spec/api/accounts_spec.rb
378
376
  - spec/api/payees_spec.rb
377
+ - spec/api/payee_locations_spec.rb
379
378
  - spec/api/transactions_spec.rb
379
+ - spec/api/scheduled_transactions_spec.rb
380
380
  - spec/api/months_spec.rb
381
- - spec/api/payee_locations_spec.rb
381
+ - spec/api/categories_spec.rb
382
+ - spec/api/accounts_spec.rb
383
+ - spec/api/budgets_spec.rb
382
384
  - spec/api_error_spec.rb
383
- - spec/fixtures/vcr_cassettes/categories_unauthorized.yml
385
+ - spec/fixtures/vcr_cassettes/create_transactions.yml
386
+ - spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
387
+ - spec/fixtures/vcr_cassettes/payees.yml
388
+ - spec/fixtures/vcr_cassettes/import_transactions.yml
389
+ - spec/fixtures/vcr_cassettes/payees_unauthorized.yml
384
390
  - spec/fixtures/vcr_cassettes/scheduled_transactions.yml
385
- - spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml
386
- - spec/fixtures/vcr_cassettes/accounts.yml
387
- - spec/fixtures/vcr_cassettes/months.yml
388
- - spec/fixtures/vcr_cassettes/payee_transactions.yml
389
- - spec/fixtures/vcr_cassettes/transaction.yml
391
+ - spec/fixtures/vcr_cassettes/bulk_transactions.yml
390
392
  - spec/fixtures/vcr_cassettes/month.yml
393
+ - spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
394
+ - spec/fixtures/vcr_cassettes/update_transactions.yml
395
+ - spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml
396
+ - spec/fixtures/vcr_cassettes/month_transactions.yml
397
+ - spec/fixtures/vcr_cassettes/update_transaction.yml
398
+ - spec/fixtures/vcr_cassettes/transaction.yml
391
399
  - spec/fixtures/vcr_cassettes/category_transactions.yml
400
+ - spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml
401
+ - spec/fixtures/vcr_cassettes/budget.yml
392
402
  - spec/fixtures/vcr_cassettes/patch_month_category.yml
393
- - spec/fixtures/vcr_cassettes/payees_unauthorized.yml
394
- - spec/fixtures/vcr_cassettes/payee.yml
403
+ - spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml
395
404
  - spec/fixtures/vcr_cassettes/payee_location.yml
396
- - spec/fixtures/vcr_cassettes/month_transactions.yml
397
- - spec/fixtures/vcr_cassettes/transactions.yml
398
- - spec/fixtures/vcr_cassettes/months_unauthorized.yml
399
- - spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml
400
- - spec/fixtures/vcr_cassettes/categories.yml
401
- - spec/fixtures/vcr_cassettes/create_transactions.yml
402
- - spec/fixtures/vcr_cassettes/update_transactions.yml
405
+ - spec/fixtures/vcr_cassettes/transactions_invalid_flags.yml
406
+ - spec/fixtures/vcr_cassettes/payee_transactions.yml
407
+ - spec/fixtures/vcr_cassettes/accounts.yml
408
+ - spec/fixtures/vcr_cassettes/categories_unauthorized.yml
403
409
  - spec/fixtures/vcr_cassettes/create_account.yml
404
- - spec/fixtures/vcr_cassettes/payees.yml
405
- - spec/fixtures/vcr_cassettes/budgets.yml
406
- - spec/fixtures/vcr_cassettes/payee_locations.yml
407
410
  - spec/fixtures/vcr_cassettes/multiple_transactions.yml
408
- - spec/fixtures/vcr_cassettes/create_transaction.yml
411
+ - spec/fixtures/vcr_cassettes/months.yml
412
+ - spec/fixtures/vcr_cassettes/payee_locations.yml
413
+ - spec/fixtures/vcr_cassettes/budgets.yml
414
+ - spec/fixtures/vcr_cassettes/account.yml
409
415
  - spec/fixtures/vcr_cassettes/scheduled_transaction.yml
410
- - spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
411
- - spec/fixtures/vcr_cassettes/import_transactions.yml
412
- - spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
413
- - spec/fixtures/vcr_cassettes/update_transaction.yml
414
416
  - spec/fixtures/vcr_cassettes/category.yml
415
- - spec/fixtures/vcr_cassettes/account.yml
416
- - spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml
417
- - spec/fixtures/vcr_cassettes/bulk_transactions.yml
418
- - spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
419
- - spec/fixtures/vcr_cassettes/budget.yml
417
+ - spec/fixtures/vcr_cassettes/transactions.yml
418
+ - spec/fixtures/vcr_cassettes/payee.yml
419
+ - spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
420
+ - spec/fixtures/vcr_cassettes/months_unauthorized.yml
421
+ - spec/fixtures/vcr_cassettes/create_transaction.yml
422
+ - spec/fixtures/vcr_cassettes/categories.yml
420
423
  - spec/spec_helper.rb
data/config.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "gemName": "ynab",
3
- "moduleName": "YNAB",
4
- "gemDescription": "Ruby gem wrapper for the YNAB API. Read the documentation at https://api.ynab.com",
5
- "gemHomepage": "https://github.com/ynab/ynab-sdk-ruby",
6
- "gemLicense": "Apache-2.0",
7
- "gemAuthor": "YNAB",
8
- "gemAuthorEmail": "api@ynab.com"
9
- }