%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/vendor/culqi/culqi-php/lib/Culqi/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/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);
  }

}

Zerion Mini Shell 1.0