Commit dde403ac authored by Shakarim Sapa's avatar Shakarim Sapa

- Testing

parent 01c503c7
......@@ -106,6 +106,12 @@ class UnisenderAPI {
);
}
public function getLists(){
return $this->callMethod(
'getLists'
);
}
public function createEmailMessage($sender_name, $sender_email, $subject, $body, $list_id){
return $this->callMethod(
'createEmailMessage',
......
......@@ -29,3 +29,8 @@ echo '<br>';
echo 'Список: '.((isset($newListId)) ? $newListId : 'Not found');
echo '<br>';
echo 'Сообщение: '.((isset($newMessageId)) ? $newMessageId : 'Not found');
echo '<br>';
echo '---------------------------';
echo "<pre>";
print_r(Json::decode($sender->getLists()));
echo "</pre>";
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment