def volumes(params = {})
      path = '/volumes'
      query = {}
      query[:filters] = params[:filters] if params.key?(:filters)
      response = JSON.parse(Hyperb::Request.new(self, path, query, 'get').perform)

      # hyper response atm comes inside a Volumes: [], unlike the images API
      # which is returned in a []
      response['Volumes'].map { |vol| Hyperb::Volume.new(vol) }
    end
def volumes(params = {})
      path = '/volumes'
      query = {}
      query[:filters] = params[:filters] if params.key?(:filters)
      response = JSON.parse(Hyperb::Request.new(self, path, query, 'get').perform)

      # hyper response atm comes inside a Volumes: [], unlike the images API
      # which is returned in a []
      response['Volumes'].map { |vol| Hyperb::Volume.new(vol) }
    end
list volumes

 @see https://docs.hyper.sh/Reference/API/2016-04-04%20[Ver.%201.23]/Volume/list.html

 @raise [Hyperb::Error::Unauthorized] raised when credentials are not valid.

 @return [Hyperb::Volume] Array of Hyperb::Volume.

 @param params [Hash] A customizable set of params.
 TODO: @option params [String] :filters JSON encoded value of the filters
 TODO: @option params filters [Boolean] :dangling