We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents daa69ee + 494b055 commit 4a2bcc7Copy full SHA for 4a2bcc7
README.md
@@ -59,8 +59,10 @@ require 'onesignal'
59
60
# Setup authorization
61
OneSignal.configure do |config|
62
+ # Configure Bearer authorization: user_key
63
+ config.user_key = 'ORGANIZATION_API_KEY' # Organization key is only required for creating new apps and other top-level endpoints
64
# Configure Bearer authorization: app_key
- config.access_token = 'YOUR_BEARER_TOKEN'
65
+ config.app_key = 'REST_API_KEY' # App REST API key required for most endpoints
66
end
67
68
api_instance = OneSignal::DefaultApi.new
0 commit comments