Completed
Push — master ( d0d40f...472735 )
by Artem
02:46
created

Api   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 4
Bugs 0 Features 0
Metric Value
wmc 1
c 4
b 0
f 0
lcom 0
cbo 1
dl 0
loc 17
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A spec() 0 4 1
1
<?php
2
3
//----------------------------------------------------------------------
4
//
5
//  Copyright (C) 2015-2016 Artem Rodygin
6
//
7
//  This file is part of Linode API Client Library for PHP.
8
//
9
//  You should have received a copy of the MIT License along with
10
//  the library. If not, see <http://opensource.org/licenses/MIT>.
11
//
12
//----------------------------------------------------------------------
13
14
namespace Linode;
15
16
/**
17
 * This class is autogenerated.
18
 *
19
 * @version Linode API v3.3
20
 */
21
class Api extends BaseLinodeApi
22
{
23
    /** API version */
24
    const VERSION = '3.3';
25
26
    /**
27
     * Returns a data structure of the entire Linode API specification.  This method does not require
28
     * authorization.<br><br>For example: <a target="_blank"
29
     * href="https://api.linode.com/?api_action=api.spec">https://api.linode.com/?api_action=api.spec</a>.
30
     *
31
     * @return array
32
     */
33 1
    public function spec()
34
    {
35 1
        return $this->call('api.spec');
36
    }
37
}
38