def download(format=:png)
      connection.get(url(format)).body
    rescue Faraday::Error::TimeoutError
      raise Slate::Error::TimeoutError
    end
def download(format=:png)
      connection.get(url(format)).body
    rescue Faraday::Error::TimeoutError
      raise Slate::Error::TimeoutError
    end
Public: Retrieve the data from the graphite server in the requested format.

 format - The format of the data to return, as a Symbol (default: :png).

 Examples

   download(:json)
   # => '{"targets":[]}'