Skip to content

Instantly share code, notes, and snippets.

@flashingpumpkin
Created June 14, 2011 16:38
Show Gist options
  • Save flashingpumpkin/1025289 to your computer and use it in GitHub Desktop.
Save flashingpumpkin/1025289 to your computer and use it in GitHub Desktop.
public JSONObject getDevices() throws ConnectionException {
return get(ALLOWED_UNITS);
}
public JSONObject getDownstream() throws ConnectionException {
return get(downstream());
}
public JSONObject getDownstream(String device) throws ConnectionException{
return get(downstream(device));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment