'Lists all volumes in storage array.'

def list_volumes(self):

    if self.features.SSC_API_V2:
        path = self.RESOURCE_PATHS.get('ssc_volumes')
    else:
        path = self.RESOURCE_PATHS.get('volumes')
    return self._invoke('GET', path)
