Files
provider-service/lib/provider_service_web/provider_service_web.ex
HaimKortovich f566d04a04
All checks were successful
Build and Publish / build-release (push) Successful in 4m46s
init commit
2026-04-15 15:31:56 -05:00

21 lines
384 B
Elixir

defmodule ProviderServiceWeb do
def controller do
quote do
use Phoenix.Controller, formats: [:json]
import Plug.Conn
end
end
def router do
quote do
use Phoenix.Router, helpers: false
import Plug.Conn
import Phoenix.Controller
end
end
defmacro __using__(which) when is_atom(which) do
apply(__MODULE__, which, [])
end
end