You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
333 B
Elixir
11 lines
333 B
Elixir
7 years ago
|
defmodule Asciinema.Asciicasts.SnapshotUpdater do
|
||
|
alias Asciinema.Asciicast
|
||
|
|
||
|
@doc "Generates poster for given asciicast"
|
||
|
@callback update_snapshot(asciicast :: %Asciicast{}) :: :ok | {:error, term}
|
||
|
|
||
|
def update_snapshot(asciicast) do
|
||
|
Application.get_env(:asciinema, :snapshot_updater).update_snapshot(asciicast)
|
||
|
end
|
||
|
end
|