def request(method, path, options = {})
      if @options[:format_path]
        path = format_path(path, @options[:format])
      end
      response = self.http.send(method) do |request|
        case method
        when :get, :delete
          request.url(path, options)
        when :post, :put
          request.path = path
          request.body = options unless options.empty?
        end
      end
      response.body
    end
def request(method, path, options = {})
      if @options[:format_path]
        path = format_path(path, @options[:format])
      end
      response = self.http.send(method) do |request|
        case method
        when :get, :delete
          request.url(path, options)
        when :post, :put
          request.path = path
          request.body = options unless options.empty?
        end
      end
      response.body
    end
Makes a request to the API through the set up interface
 @param  method [Symbol] [:get, :post, :put, :delete]
 @param  path [String] [The path to request from the server]
 @param  options = {} [Optional Hash] [Args to include in the request]

 @return [String or Hash] [The result of the request, generally a hash]