View Source Smokestack.FactoryBuilder (smokestack v0.9.1)
Executes a factory and returns it's result.
Summary
Functions
Execute the named factory, if possible.
Types
@type attrs_option() :: {:attrs, Enumerable.t({atom(), any()})}
Manually specify some attributes.
@type error() :: any()
@type option() :: attrs_option()
Functions
@spec build(Smokestack.Dsl.Factory.t(), [option()]) :: {:ok, result()} | {:error, error()}
Execute the named factory, if possible.