class EmergencyBanner
  def initialize
    @redis = Redis.new
  end

  def enabled?
    content && has_campaign_class?
  end

  def has_campaign_class?
    content.has_key?(:campaign_class) && content.fetch(:campaign_class).present?
  end

private

  def content
    @data ||= @redis.hgetall("emergency_banner")
    @data.symbolize_keys if @data
  end
end

class EmergencyBanner
  def initialize
    @redis = Redis.new
  end

  def enabled?
    content && campaign_class
  end

private

  def content
    @data ||= @redis.hgetall("emergency_banner")
    @data.symbolize_keys if @data
  end

  def campaign_class
    content[:campaign_class] if content[:campaign_class].present?
  end
end

Hide the implementation of campaign_class
Hide the implementation of campaign_class

Setting campaign class should be a private affair
