basic http service
defmodule HttpService do @moduledoc """ An implementation of the basic http service """ @doc """ Get a resource """ def get(url) do "getting a resource" end @doc """ Post a resource """ def post(url, body) do "posting a resource" end @doc """ Put a resource """ def put(url, body) do "putting a resource" end end