spec/support/fake_api.rb in finapps-5.0.17 vs spec/support/fake_api.rb in finapps-5.0.19

- old
+ new

@@ -13,9 +13,22 @@ get("/#{version}/resources/:id") { json_response 200, 'resource.json' } get("/#{version}/resources") { json_response 200, 'resources.json' } put("/#{version}/resources") { json_response 201, 'resource.json' } delete("/#{version}/resources/:id") { status 202 } + # verix_metadata + get("/#{version}/v/metadata") do + json_response 200, 'verix/metadata.json' + end + + # verix_records + get("/#{version}/v/record") do + json_response 200, 'verix/record/list.json' + end + post("/#{version}/v/record") do + json_response 200, 'verix/record/create.json' + end + # plaid_webhook get("/#{version}/p/webhook") do tenant_token = request.env['HTTP_X_TENANT_TOKEN'] if tenant_token == 'invalid_tenant_token' json_response 404, 'invalid_tenant_credentials.json'