ex_data.gov.ua/lib/ex_data_gov_u_a/fetchers/base.ex

9 lines
195 B
Elixir

defmodule ExDataGovUA.Fetchers.Base do
@type data :: map()
@type status :: Atom.t()
@type url :: String.t()
@type method :: Atom.t()
@callback fetch(method, url) :: {status, data}
end