Completed
Push — master ( d9411c...c78c84 )
by CloudyCity
04:36
created

Client   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getValidActions() 0 3 1
1
<?php
2
3
4
namespace CloudyCity\TencentMarketingSDK\Advertiser\Fund;
5
6
use CloudyCity\TencentMarketingSDK\Kernel\BaseClient;
7
use CloudyCity\TencentMarketingSDK\Resources;
8
9
class Client extends BaseClient
10
{
11
    protected $resource = Resources::FUNDS;
12
13
    protected $fields = ['fund_type', 'balance', 'fund_status', 'realtime_cost'];
14
15
    /**
16
     * Get all valid actions for resource.
17
     *
18
     * @return array
19
     */
20
    public function getValidActions()
21
    {
22
        return ['get'];
23
    }
24
}
25