Merge pull request #83 from nexxai/patch-1
Feature: Allow creation of ASN access rule
This commit is contained in:
@@ -21,6 +21,11 @@ class AccessRules implements Configurations
|
|||||||
$this->config = ['target' => 'country', 'value' => $value];
|
$this->config = ['target' => 'country', 'value' => $value];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setASN(string $value)
|
||||||
|
{
|
||||||
|
$this->config = ['target' => 'asn', 'value' => $value];
|
||||||
|
}
|
||||||
|
|
||||||
public function getArray(): array
|
public function getArray(): array
|
||||||
{
|
{
|
||||||
return $this->config;
|
return $this->config;
|
||||||
|
|||||||
Reference in New Issue
Block a user