debianize-mobilizon/lib/service/activity_pub/convertible.ex
2019-09-26 17:45:47 +02:00

11 lines
216 B
Elixir

defprotocol Mobilizon.Service.ActivityPub.Convertible do
@moduledoc """
Convertible protocol.
"""
@type activity_streams :: map
@spec model_to_as(t) :: activity_streams
def model_to_as(convertible)
end