for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Rs\VersionEye\Api;
/**
* Sessions API.
*
* @author Robert Schönthal <[email protected]>
* @see https://www.versioneye.com/api/v2/swagger_doc/sessions
*/
class Sessions extends BaseApi implements Api
{
* returns session info for authorized users.
* @return array
public function show()
return $this->request('sessions');
}
* creates new sessions.
public function open()
return $this->request('sessions', 'POST');
* delete current session aka log out.
public function close()
return $this->request('sessions', 'DELETE');