Sha256: decebe1350f84350fb399a2c3d82e0dc8c5d9aebc1a5bdaeb61e24c972e237ef
Contents?: true
Size: 575 Bytes
Versions: 18
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true module Karafka module Setup # Dsl for allowing to work with the configuration from the Karafka::App # @note Despite providing methods, everything is still persisted and fetched # from the Karafka::Setup::Config module Dsl # Sets up the whole configuration # @param [Block] block configuration block def setup(&block) Setup::Config.setup(&block) initialize! end # @return [Karafka::Config] config instance def config Setup::Config.config end end end end
Version data entries
18 entries across 18 versions & 1 rubygems