mazurka v1.0.7 Mazurka.Mediatype.Text
Link to this section Summary
Functions
Create an action block
Create an affordance block
TODO write the docs
Override the content types Mazurka.Mediatype.Text provides
Link to this section Functions
Create an action block
mediatype Mazurka.Mediatype.Text do
action do
# action goes here
end
end
Create an affordance block
mediatype Mazurka.Mediatype.Text do
affordance do
# affordance goes here
end
end
Link to this function
content_types()
TODO write the docs
Callback implementation for Mazurka.Mediatype.content_types/0
.
Override the content types Mazurka.Mediatype.Text provides
mediatype Mazurka.Mediatype.Text do
provides "text/plain"
end