Passed
Push — develop ( 3a55d2...1bb7ea )
by Jens
11:37
created

MeOrdersEndpoint::endpoint()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * @author @jenschude <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Request\Me;
7
8
use Commercetools\Core\Client\JsonEndpoint;
9
10
class MeOrdersEndpoint
11
{
12
    /**
13
     * @return JsonEndpoint
14
     */
15 7
    public static function endpoint()
16
    {
17 7
        return new JsonEndpoint('me/orders');
18
    }
19
}
20