lib/SlackHookFramework/AbstractCommand.php
public function post() {
		$json = $this->result->toJson ();
		$this->log->debug ( "AbstractCommand (" . get_class ( $this ) . "): response json: $json" );
		$result = Util::post ( $this->config->slack_webhook_url, $json );
		if (! $result) {
			$this->log->error ( "AbstractCommand: Error sending json: $json to slack hook: " . $this->config->slack_webhook_url );
		}
		return $result;
	}
public function post() {
		$json = $this->result->toJson ();
		$this->log->debug ( "AbstractCommand (" . get_class ( $this ) . "): response json: $json" );
		$result = Util::post ( $this->config->slack_webhook_url, $json );
		if (! $result) {
			$this->log->error ( "AbstractCommand: Error sending json: $json to slack hook: " . $this->config->slack_webhook_url );
		}
		return $result;
	}
public function post ( ) { $ json = $ this -> result -> toJson ( ) ; $ this -> log -> debug ( "AbstractCommand (" . get_class ( $ this ) . "): response json: $json" ) ; $ result = Util :: post ( $ this -> config -> slack_webhook_url , $ json ) ; if ( ! $ result ) { $ this -> log -> error ( "AbstractCommand: Error sending json: $json to slack hook: " . $ this -> config -> slack_webhook_url ) ; } return $ result ; }
Post the SlackResult json representation to the Slack Incoming WebHook.
Post the SlackResult json representation to the Slack Incoming WebHook .