Skip to content

Commit

Permalink
Merge pull request #83 from nexxai/patch-1
Browse files Browse the repository at this point in the history
Feature: Allow creation of ASN access rule
  • Loading branch information
IcyApril authored May 8, 2019
2 parents 78eadb9 + bd92b2a commit ae2c680
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 ae2c680

Please sign in to comment.