Stripe.Config (stripity_stripe v2.17.3) View Source

Utility that handles interaction with the application's configuration

Link to this section Summary

Functions

Resolves the given key from the application's configuration returning the wrapped expanded value. If the value was a function it gets evaluated, if the value is a tuple of three elements it gets applied.

Link to this section Functions

Link to this function

resolve(key, default \\ nil)

View Source

Specs

resolve(atom(), any()) :: any()

Resolves the given key from the application's configuration returning the wrapped expanded value. If the value was a function it gets evaluated, if the value is a tuple of three elements it gets applied.