View Source Stripe.Config (stripity_stripe v3.2.0)

Utility that handles interaction with the application's configuration

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.

Functions

Link to this function

resolve(key, default \\ nil)

View Source
@spec 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.