Skip to content

Commit

Permalink
Allow creation of ASN access rule
Browse files Browse the repository at this point in the history
Added setASN() method to allow creation of ASN access rules
  • Loading branch information
nexxai authored Feb 11, 2019
1 parent 4694904 commit bd92b2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Configurations/AccessRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ public function setCountry(string $value)
$this->config = ['target' => 'country', 'value' => $value];
}

public function setASN(string $value)
{
$this->config = ['target' => 'asn', 'value' => $value];
}

public function getArray(): array
{
return $this->config;
Expand Down

0 comments on commit bd92b2a

Please sign in to comment.