From 00acd25a945a0ce6b827abdb2da22b32862f1884 Mon Sep 17 00:00:00 2001 From: Kevin Soltysiak Date: Mon, 12 Feb 2024 10:12:55 +0100 Subject: [PATCH] refactor(response): cleaner interface --- lib/scalingo/regional/addons.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/scalingo/regional/addons.rb b/lib/scalingo/regional/addons.rb index 325314a..4fcd910 100644 --- a/lib/scalingo/regional/addons.rb +++ b/lib/scalingo/regional/addons.rb @@ -9,8 +9,8 @@ class Regional::Addons < API::Endpoint delete :destroy, "apps/{app_id}/addons/{id}" get :sso, "apps/{app_id}/addons/{id}/sso" post :token, "apps/{app_id}/addons/{id}/token" - get :categories, "addon_categories", connected: false - get :providers, "addon_providers", connected: false + get :categories, "addon_categories" + get :providers, "addon_providers" def authenticate!(**params, &block) response = token(**params, &block)