This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8616dde
commit 1b59d84
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
namespace Cloudflare; | ||
|
||
use Cloudflare\Api; | ||
|
||
/** | ||
* CloudFlare API wrapper | ||
* | ||
* CloudFlare IPs | ||
* CloudFlare IP space | ||
* | ||
* @author James Bell <[email protected]> | ||
* @version 1 | ||
*/ | ||
|
||
class IPs extends Api | ||
{ | ||
/** | ||
* Default permissions level | ||
* @var array | ||
*/ | ||
protected $permission_level = array('read' => null, 'edit' => null); | ||
|
||
/** | ||
* CloudFlare IPs | ||
* Get CloudFlare IPs | ||
*/ | ||
public function ips($identifier) | ||
{ | ||
return $this->get('/ips'); | ||
} | ||
} |