Skip to content

Commit bd92b2a

Browse files
authored
Allow creation of ASN access rule
Added setASN() method to allow creation of ASN access rules
1 parent 4694904 commit bd92b2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Configurations/AccessRules.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ public function setCountry(string $value)
2121
$this->config = ['target' => 'country', 'value' => $value];
2222
}
2323

24+
public function setASN(string $value)
25+
{
26+
$this->config = ['target' => 'asn', 'value' => $value];
27+
}
28+
2429
public function getArray(): array
2530
{
2631
return $this->config;

0 commit comments

Comments
 (0)