Example #1
0
 /**
  * @param string $address
  * @param string $body
  * @return \Httpful\Response
  */
 public function get($address, $body = '')
 {
     return Request::get('https://etkinlik.io/api/v1' . $address, Mime::JSON)->addHeader('X-ETKINLIK-TOKEN', $this->container->getToken())->body($body)->send();
 }
Example #2
0
 public function __get($name)
 {
     return $this->container->offsetGet($name);
 }