Module: Karafka::Web::Pro::Ui::Lib::Branding

Defined in:
lib/karafka/web/pro/ui/lib/branding.rb,
lib/karafka/web/pro/ui/lib/branding/config.rb,
lib/karafka/web/pro/ui/lib/branding/contracts/config.rb

Overview

Namespace for UI branding related stuff Branding allows users to set an extra label and notice per env so users won’t be confused by dev vs prod etc.

Defined Under Namespace

Modules: Contracts Classes: Config

Class Method Summary collapse

Class Method Details

.post_setup(config) ⇒ Object

Validates that the UI branding config is correct

Parameters:

  • config (Karafka::Core::Configurable::Node)

    web config



19
20
21
# File 'lib/karafka/web/pro/ui/lib/branding.rb', line 19

def post_setup(config)
  Branding::Contracts::Config.new.validate!(config.to_h)
end