Completed
Push — master ( 99f756...c85930 )
by Sergey
03:21
created

User::profile()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
c 2
b 0
f 2
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace seregazhuk\PinterestBot\Api\Providers;
4
5
use seregazhuk\PinterestBot\Helpers\UrlHelper;
6
7
class User extends Provider {
8
9
    protected $loginRequired = ['profile'];
10
11
    public function profile($userInfo)
12
    {
13
        return $this->callPostRequest(
14
            $userInfo, UrlHelper::RESOURCE_UPDATE_USER_SETTINGS
15
        );
16
    }
17
18
}
19