add secure and private flag to config payload

This commit is contained in:
Konstantin Haase 2015-07-14 17:30:50 +02:00
parent bdd479298b
commit edac220a42

View File

@ -11,7 +11,7 @@ class Travis::Api::App
host: host,
shorten_host: Travis.config.shorten_host,
assets: Travis.config.assets,
pusher: (Travis.config.pusher_ws || Travis.config.pusher || {}).to_hash.slice(:scheme, :host, :port, :path, :key),
pusher: (Travis.config.pusher_ws || Travis.config.pusher || {}).to_hash.slice(:scheme, :host, :port, :path, :key, :secure, :private),
github: { api_url: GH.current.api_host.to_s, scopes: Travis.config.oauth2.try(:scope).to_s.split(?,) }
# Landing point. Redirects web browsers to [API documentation](#/docs/).