Merge pull request #83 from nexxai/patch-1

Feature: Allow creation of ASN access rule
This commit is contained in:
Junade
2019-05-08 19:55:33 +01:00
committed by GitHub

View File

@@ -21,6 +21,11 @@ class AccessRules implements Configurations
$this->config = ['target' => 'country', 'value' => $value];
}
public function setASN(string $value)
{
$this->config = ['target' => 'asn', 'value' => $value];
}
public function getArray(): array
{
return $this->config;