module Athena::Config::ConfigurationResolverInterface

Overview

A type that allows resolving a specific configuration object by type. The main usecase for this type is to abstract how a configuration object is provided; making testing/future refactors easier. See ACFA::Resolvable for details.

Direct including types

Defined in:

configuration_resolver.cr

Instance Method Summary

Instance Method Detail

abstract def resolve(_type : _) #

Resolves the configuration object for the given _type.

Raises a NotImplementedError if no #resolve method exists for the given _type.


[View source]
abstract def resolve : ACF::Base #

Returns the ACF::Base configuration object.


[View source]