lib/ksql/configuration.rb
def validate
      REQUIRED_ATTRS.each do |attribute|
        value = instance_variable_get("@#{attribute}")
        raise ConfigurationError, "Ksql required #{attribute} missing!" if value.nil? || value.strip.empty?
      end

      true
    end
#
# Ensure required attributes are properly configured
#
# @return [Boolean] true
#
Ensure required attributes are properly configured
Ensure required attributes are properly configured
def validate
      REQUIRED_ATTRS.each do |attribute|
        value = instance_variable_get("@#{attribute}")
        raise ConfigurationError, "Ksql required #{attribute} missing!" if value.nil? || value.strip.empty?
      end
      true
    end
def validate REQUIRED_ATTRS . each do | attribute | value = instance_variable_get ( "@#{attribute}" ) raise ConfigurationError , "Ksql required #{attribute} missing!" if value . nil? || value . strip . empty? end true end
Ensure required attributes are properly configured
Ensure required attributes are properly configured
None
Boolean