debianize-mobilizon/lib/service/activity/activity.ex

8 lines
190 B
Elixir
Raw Normal View History

defmodule Mobilizon.Service.Activity do
@moduledoc """
Behavior for Activity creators
"""
@callback insert_activity(entity :: struct(), options :: map()) :: {:ok, Oban.Job.t()}
end