| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 8 | 
| CRAP Score | 1 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 31 | 1 | public function unsubscribe($listName, $contact)  | 
            |
| 32 |     { | 
            ||
| 33 | 1 | $contactListId = $this->convertor->convert($listName);  | 
            |
| 34 | 1 | $this->client->post(Resources::$ContactManagecontactslists, ['id' => $contact, 'body' => [  | 
            |
| 35 | 'ContactsLists' => [  | 
            ||
| 36 | 1 | 'ListId' => $contactListId,  | 
            |
| 37 | 1 | 'Action' => 'unsub',  | 
            |
| 38 | 1 | ],  | 
            |
| 39 | 1 | ]]);  | 
            |
| 40 | 1 | }  | 
            |
| 41 | }  | 
            ||
| 42 |