Commit 37e561f1 authored by Antonio.Suerte's avatar Antonio.Suerte

Flat3 Webhook Enhancement

parent 230947f2
...@@ -9,7 +9,7 @@ class AlternaInc extends Flat3Webhook{ ...@@ -9,7 +9,7 @@ class AlternaInc extends Flat3Webhook{
* setting flat3 webhook name * setting flat3 webhook name
* *
*/ */
parent::__construct("AlternaInc"); parent::__construct();
} }
public function listen(){ public function listen(){
......
...@@ -9,7 +9,7 @@ class ConnectK2020 extends Flat3Webhook{ ...@@ -9,7 +9,7 @@ class ConnectK2020 extends Flat3Webhook{
* setting flat3 webhook name * setting flat3 webhook name
* *
*/ */
parent::__construct("ConnectK2020"); parent::__construct();
} }
public function listen(){ public function listen(){
......
...@@ -51,10 +51,10 @@ class Flat3Webhook extends System { ...@@ -51,10 +51,10 @@ class Flat3Webhook extends System {
*/ */
private $devSetting = NULL; private $devSetting = NULL;
public function __construct($webhookName = NO_STRING){ public function __construct(){
parent::__construct(); parent::__construct();
$this -> webhookName = $webhookName; $this -> webhookName = get_class($this);
$this -> setParameter(); $this -> setParameter();
$this -> requestDetails(); $this -> requestDetails();
......
...@@ -9,7 +9,7 @@ class GoodSelection extends Flat3Webhook{ ...@@ -9,7 +9,7 @@ class GoodSelection extends Flat3Webhook{
* setting flat3 webhook name * setting flat3 webhook name
* *
*/ */
parent::__construct("GoodSelection"); parent::__construct();
} }
public function listen(){ public function listen(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment