Skip to content

Commit b5a07c9

Browse files
committed
Added resources api end point
1 parent c92e762 commit b5a07c9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Endpoint/Resources.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace Opensaucesystems\Lxd\Endpoint;
4+
5+
class Resources extends AbstructEndpoint
6+
{
7+
protected function getEndpoint()
8+
{
9+
return '/resources/';
10+
}
11+
12+
/**
13+
* Show host information
14+
*
15+
* @return array
16+
*/
17+
public function info()
18+
{
19+
return $this->get($this->getEndpoint());
20+
}
21+
}

0 commit comments

Comments
 (0)