lib/connection/models/response.ex

defmodule Ravix.Connection.Response do
  @moduledoc """
     Represents the response of a RavenDB API call
  """
  defstruct [
    :status,
    :data,
    :headers
  ]

  alias Ravix.Connection.Response

  @type t :: %Response{
          status: non_neg_integer(),
          data: map(),
          headers: list(map())
        }
end