Created
January 4, 2015 18:13
-
-
Save dannewns/cd77600e3d30a82a81c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Current | |
$devices = $cube->get('devices/'); | |
//Just wondering if it might be worth having some common methods such as | |
$devices = $cube->devices(); | |
$device = $cube->getDevice($deviceId); | |
$device = $cube->getDeviceCurrentState($deviceId); | |
$device = $cube->getDeviceHistroy($deviceId, $start_date, $end_date, $resolution); | |
//Not sure if you think this is a dumb idea? | |
//they would just internally call the get function it also might be worth adding some method visibility?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment