| Total Complexity | 2 | 
| Total Lines | 35 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 18 | class CustomerIntelligenceGateway extends AbstractGateway  | 
            ||
| 19 | { | 
            ||
| 20 | /**  | 
            ||
| 21 | * @author GK  | 
            ||
| 22 | * @param string $installation  | 
            ||
| 23 | * @param string $token  | 
            ||
| 24 | * @param int $offset  | 
            ||
| 25 | * @param int $limit  | 
            ||
| 26 | * @return array  | 
            ||
| 27 | * @throws \WNowicki\Generic\Exception  | 
            ||
| 28 | */  | 
            ||
| 29 | 1 | public function getCustomerIntelligence($installation, $token, $offset = 0, $limit = 20)  | 
            |
| 30 |     { | 
            ||
| 31 | 1 | return $this->fetchDocument(  | 
            |
| 32 | 1 | '/v4/installations/' . $installation . '/lead-score?offset=' . $offset . '&limit=' . $limit,  | 
            |
| 33 | 1 | $token,  | 
            |
| 34 | 'LeadScore'  | 
            ||
| 35 | 1 | );  | 
            |
| 36 | }  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * @author GK  | 
            ||
| 40 | * @param string $installation  | 
            ||
| 41 | * @param array $body  | 
            ||
| 42 | * @param string $token  | 
            ||
| 43 | * @return array  | 
            ||
| 44 | * @throws \WNowicki\Generic\Exception  | 
            ||
| 45 | */  | 
            ||
| 46 | 1 | public function performLeadScore($installation, array $body, $token)  | 
            |
| 53 | 1 | );  | 
            |
| 54 | }  | 
            ||
| 56 |