mazurka v1.0.5 Mazurka.Mediatype behaviour

TODO write the docs

Summary

Macros

Create a mediatype with default macros for action, affordance, error, and provides

Callbacks

TODO write the docs

TODO write the docs

TODO write the docs

Types

Macros

__using__()

Create a mediatype with default macros for action, affordance, error, and provides

defmodule Mazurka.Mediatype.MyMediatype do
  use Mazurka.Mediatype
end

Callbacks

__content_types__()

Specs

__content_types__ :: [{binary, binary, binary, module}]

TODO write the docs

__handle_action__(ast)

Specs

__handle_action__({line :: Macro.Env.line, env :: Macro.Env.t}, ast) :: any

TODO write the docs

__handle_affordance__(ast, props)

Specs

__handle_affordance__({line :: Macro.Env.line, env :: Macro.Env.t}, ast, props) :: any

TODO write the docs