'Retrieve a device.
Args:
user_id (str): The ID of the user which owns the device
device_id (str): The ID of the device to retrieve
Returns:
defer.Deferred for a dict containing the device information
Raises:
StoreError: if the device is not found'

def get_device(self, user_id, device_id):

    return self._simple_select_one(table='devices', keyvalues={'user_id': user_id, 'device_id': device_id}, retcols=('user_id', 'device_id', 'display_name'), desc='get_device')
