class RailsBand::Configuration::Consumers

Consumers is a wrapper of ActiveSupport::HashWithIndifferentAccess, which validates the value on #[]=.

def []=(key, value)

def []=(key, value)
  unless value.respond_to?(:call)
    raise ArgumentError, "The value for `#{key.inspect}` must have #call: the passed one is `#{value.inspect}`"
  end
  super(key, value)
end