View Source Waffle.Storage.Google.Url behaviour (Waffle backend for Google Cloud Storage v0.0.2)

Defines an interface for generating Google Cloud Storage URLs.

Link to this section Summary

Callbacks

Constructs a URL based on data from Waffle.

Link to this section Callbacks

Link to this callback

build(definition, version, meta, options)

View Source
@callback build(
  definition :: Waffle.Types.definition(),
  version :: Waffle.Types.version(),
  meta :: Waffle.Types.meta(),
  options :: Keyword.t()
) :: String.t()

Constructs a URL based on data from Waffle.