Skip to content

Commit

Permalink
refactor(response): cleaner interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ksol committed Feb 12, 2024
1 parent 156c309 commit 00acd25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scalingo/regional/addons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 00acd25

Please sign in to comment.