ex_idobata v0.3.0 ExIdobata.Hook.Contents

Container for contents of to post idobata.io

Link to this section Summary

Link to this section Types

Link to this type

blob()

blob() :: {binary(), binary(), tuple(), list()}
Link to this type

format()

format() :: {binary(), binary()}
Link to this type

image()

image() :: {:file, binary(), tuple(), list()}
Link to this type

part()

part() :: source() | format() | image()
Link to this type

source()

source() :: {binary(), binary()}
Link to this type

t()

t() :: %ExIdobata.Hook.Contents{parts: [part()]}

Link to this section Functions

Link to this function

blob(filename, binary, name, content_type)

(since 0.3.0)
blob(binary(), binary(), binary(), binary()) :: blob()
Link to this function

contents()

(since 0.1.0)
contents() :: t()
Link to this function

contents(params)

(since 0.1.0)
contents([part()]) :: t()
Link to this function

format(fmt)

(since 0.1.0)
format(binary() | atom()) :: format()
Link to this function

format(contents, fmt)

(since 0.1.0)
format(t(), binary() | atom()) :: t()
Link to this function

image(filename)

(since 0.1.0)
image(binary()) :: image()
Link to this function

image(contents, filename)

(since 0.1.0)
image(t(), binary()) :: t()
Link to this function

image(contents, filename, body)

(since 0.3.0)
image(t(), binary(), binary()) :: t()
Link to this function

source(src)

(since 0.1.0)
source(binary()) :: source()
Link to this function

source(contents, src)

(since 0.1.0)
source(t(), binary()) :: t()