Skip to content

Commit ae2c680

Browse files
authored
Merge pull request #83 from nexxai/patch-1
Feature: Allow creation of ASN access rule
2 parents 78eadb9 + bd92b2a commit ae2c680

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)