Packages

Work In progress - library to handle Cloudinary in Elixir.

Current section

Files

Jump to
imaginary lib asset struct asset_data.ex
Raw

lib/asset/struct/asset_data.ex

defmodule AssetData do
@moduledoc """
A struct representing image asset.
"""
defstruct [:id, :options, transformations: []]
@type t() :: %__MODULE__{
id: String.t(),
transformations: list(String.t()),
options: CldConfig.config()
}
end