PHP Class REBELinBLUE\Deployer\Http\Webhooks\Beanstalkapp

Inheritance: extends Webhook
Datei anzeigen Open project: rebelinblue/deployer

Public Methods

Method Description
handlePush ( ) : mixed Parses the request for a push webhook body.
isRequestOrigin ( ) : boolean Determines whether the request was from Beanstalkapp.

Method Details

handlePush() public method

Parses the request for a push webhook body.
public handlePush ( ) : mixed
return mixed Either an array of parameters for the deployment config, or false if it is invalid.

isRequestOrigin() public method

Determines whether the request was from Beanstalkapp.
public isRequestOrigin ( ) : boolean
return boolean