module Arango
  module Requests
    module Wal
      class Flush < Arango::Request
        request_method :put

        uri_template "/_admin/wal/flush"

        param :wait_for_collector
        param :wait_for_sync

        code 200, :success
        code 405, "Invalid HTTP method!"
      end
    end
  end
end
