printu/customerio

View on GitHub
src/Endpoint/Activities.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Customerio\Endpoint;

use GuzzleHttp\Exception\GuzzleException;

class Activities extends Base
{
    /**
     * Get data about activities
     * @param array $options
     * @return mixed
     * @throws GuzzleException
     */
    public function search(array $options)
    {
        $path = $this->activitiesPath();

        return $this->client->get($path, $options);
    }
}