Allow creation of ASN access rule

Added setASN() method to allow creation of ASN access rules
This commit is contained in:
Justin Smith
2019-02-11 14:44:05 -07:00
committed by GitHub
parent 4694904b38
commit bd92b2a4c0

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;