@@ -269,8 +269,8 @@ Creates a new OneSignal app
269269require ' onesignal'
270270# setup authorization
271271OneSignal .configure do |config |
272- # Configure Bearer authorization: user_auth_key
273- config.user_auth_key = ' YOUR_BEARER_TOKEN'
272+ # Configure Bearer authorization: organization_api_key
273+ config.organization_api_key = ' YOUR_BEARER_TOKEN'
274274
275275end
276276
316316
317317### Authorization
318318
319- [ user_auth_key ] ( ../README.md#user_auth_key )
319+ [ organization_api_key ] ( ../README.md#organization_api_key )
320320
321321### HTTP request headers
322322
@@ -1202,8 +1202,8 @@ View the details of a single OneSignal app
12021202require ' onesignal'
12031203# setup authorization
12041204OneSignal .configure do |config |
1205- # Configure Bearer authorization: user_auth_key
1206- config.user_auth_key = ' YOUR_BEARER_TOKEN'
1205+ # Configure Bearer authorization: organization_api_key
1206+ config.organization_api_key = ' YOUR_BEARER_TOKEN'
12071207
12081208end
12091209
@@ -1249,7 +1249,7 @@ end
12491249
12501250### Authorization
12511251
1252- [ user_auth_key ] ( ../README.md#user_auth_key )
1252+ [ organization_api_key ] ( ../README.md#organization_api_key )
12531253
12541254### HTTP request headers
12551255
@@ -1271,8 +1271,8 @@ View the details of all of your current OneSignal apps
12711271require ' onesignal'
12721272# setup authorization
12731273OneSignal .configure do |config |
1274- # Configure Bearer authorization: user_auth_key
1275- config.user_auth_key = ' YOUR_BEARER_TOKEN'
1274+ # Configure Bearer authorization: organization_api_key
1275+ config.organization_api_key = ' YOUR_BEARER_TOKEN'
12761276
12771277end
12781278
@@ -1315,7 +1315,7 @@ This endpoint does not need any parameter.
13151315
13161316### Authorization
13171317
1318- [ user_auth_key ] ( ../README.md#user_auth_key )
1318+ [ organization_api_key ] ( ../README.md#organization_api_key )
13191319
13201320### HTTP request headers
13211321
@@ -1931,8 +1931,8 @@ Updates the name or configuration settings of an existing OneSignal app
19311931require ' onesignal'
19321932# setup authorization
19331933OneSignal .configure do |config |
1934- # Configure Bearer authorization: user_auth_key
1935- config.user_auth_key = ' YOUR_BEARER_TOKEN'
1934+ # Configure Bearer authorization: organization_api_key
1935+ config.organization_api_key = ' YOUR_BEARER_TOKEN'
19361936
19371937end
19381938
@@ -1980,7 +1980,7 @@ end
19801980
19811981### Authorization
19821982
1983- [ user_auth_key ] ( ../README.md#user_auth_key )
1983+ [ organization_api_key ] ( ../README.md#organization_api_key )
19841984
19851985### HTTP request headers
19861986
0 commit comments