View Source Stripe.Config (stripity_stripe v3.1.1)

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
@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.