File: /var/www/vhost/disk-apps/teamdemo.sports-crowd.com/vendor/culqi/culqi-php/lib/Culqi/Events.php
<?php
namespace Culqi;
/**
* Class Events
*
* @package Culqi
*/
class Events extends Resource {
const URL_EVENTS = "/events/";
/**
* @param array|null $options
*
* @return all Events.
*/
public function all($options = NULL) {
return $this->request("GET", self::URL_EVENTS, $api_key = $this->culqi->api_key, $options);
}
/**
* @param string|null $id
*
* @return get a Event.
*/
public function get($id = NULL) {
return $this->request("GET", self::URL_EVENTS . $id . "/", $api_key = $this->culqi->api_key);
}
}