Completed
Push — master ( 55f844...461c20 )
by Chris
01:52
created

User::get()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/*
3
 * @author Chris Hilsdon <[email protected]>
4
 *
5
 * @link https://api.cloudflare.com/#user-properties
6
 */
7
namespace Cloudflare;
8
9
class User extends Base
10
{
11
    protected $URL = "/user";
12
13
    public function get()
14
    {
15
        $this->makeRequest($this->URL);
16
17
        return $this->getResponse();
18
    }
19
}
20