def configuration_is_valid?(configuration)
      required_parameters = ['file_name', 'standard_stream']
      required_parameters.each { |parameter| return false unless configuration.include?(parameter) }
      return false if configuration['file_name'].empty?
      return false unless ['stdout', 'stderr', 'none'].include?(configuration['standard_stream'])
      return true
    end
def configuration_is_valid?(configuration)
      required_parameters = ['file_name', 'standard_stream']
      required_parameters.each { |parameter| return false unless configuration.include?(parameter) }
      return false if configuration['file_name'].empty?
      return false unless ['stdout', 'stderr', 'none'].include?(configuration['standard_stream'])
      return true
    end
def configuration_is_valid? ( configuration ) required_parameters = [ 'file_name' , 'standard_stream' ] required_parameters . each { | parameter | return false unless configuration . include? ( parameter ) } return false if configuration [ 'file_name' ] . empty? return false unless [ 'stdout' , 'stderr' , 'none' ] . include? ( configuration [ 'standard_stream' ] ) return true end
inversion of control method required by the AuditorAPI to validate the configuration
inversion of control method required by the AuditorAPI to validate the configuration