Class: GithubSnapBuilder::Application
- Inherits:
-
Sinatra::Application
- Object
- Sinatra::Application
- GithubSnapBuilder::Application
- Defined in:
- lib/github_snap_builder/server.rb
Constant Summary collapse
- PRIVATE_KEY =
Converts the newlines. Expects that the private key has been set as an environment variable in PEM format.
OpenSSL::PKey::RSA.new(CONFIG.github_app_private_key.gsub('\n', "\n"))
- WEBHOOK_SECRET =
Your registered app must have a secret set. The secret is used to verify that webhooks are sent by GitHub.
CONFIG.github_webhook_secret
- APP_IDENTIFIER =
The GitHub App’s identifier (type integer) set when registering an app.
CONFIG.github_app_id