Passed
Push — master ( 59622b...014342 )
by Andrey
03:48
created

LoyaltyUser::getLoyaltyInfoByApiKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
namespace Daaner\NovaPoshta\Models;
4
5
use Daaner\NovaPoshta\NovaPoshta;
6
7
class LoyaltyUser extends NovaPoshta
8
{
9
10
    protected $model = 'LoyaltyUser';
11
    protected $calledMethod;
12
    protected $methodProperties = null;
13
14
    /**
15
     * Не документировано
16
     *
17
     * @return array
18
     */
19
    public function getLoyaltyInfoByApiKey()
20
    {
21
        $this->calledMethod = 'getLoyaltyInfoByApiKey';
22
23
        return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties, true);
24
    }
25
26
}
27