From afa777d907095e2342d43cd7bd4f6e3b5ea2d122 Mon Sep 17 00:00:00 2001 From: Adam Martinik Date: Mon, 10 Sep 2018 17:19:04 +0200 Subject: [PATCH] Specify api key prefix for renew_token This detail is in the description, but why not to help developer on example. --- docs/OAuthApi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/OAuthApi.md b/docs/OAuthApi.md index 9d81f52..b395889 100644 --- a/docs/OAuthApi.md +++ b/docs/OAuthApi.md @@ -72,7 +72,7 @@ SquareConnect.configure do |config| # Configure API key authorization: oauth2ClientSecret config.api_key['Authorization'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['Authorization'] = 'Bearer' + config.api_key_prefix['Authorization'] = 'Client' end api_instance = SquareConnect::OAuthApi.new