Current section

Files

Jump to
split_client lib boundary http http_stub.ex
Raw

lib/boundary/http/http_stub.ex

defmodule SplitClient.Boundary.HTTPStub do
# Stub for tests so real HTTP requests aren't sent
@moduledoc false
@behaviour SplitClient.Boundary.HTTPBehaviour
def get(_url, _headers, _options \\ []) do
{:ok, %{}}
end
end