def generate_cookie_rules(options = {})
      return [] if options[:cookie_rules].nil? || options[:cookie_rules].empty?

      options = options.merge(match_operator: 'contains', match_type: 'cookie')

      match_rules(options[:cookie_rules], options)
    rescue => err
      puts "Exception: #{err.formatted_exception("Cookie rules generation failed!")}"
      err
    end
def generate_cookie_rules(options = {})
      return [] if options[:cookie_rules].nil? || options[:cookie_rules].empty?

      options = options.merge(match_operator: 'contains', match_type: 'cookie')

      match_rules(options[:cookie_rules], options)
    rescue => err
      puts "Exception: 
      err
    end
def generate_cookie_rules ( options = { } ) return [ ] if options [ :cookie_rules ] . nil? || options [ :cookie_rules ] . empty? options = options . merge ( match_operator : 'contains' , match_type : 'cookie' ) match_rules ( options [ :cookie_rules ] , options ) rescue => err puts "Exception: #{err.formatted_exception("Cookie rules generation failed!")}" err end
All the path rules from one file will be added under same match, space separated
All the path rules from one file will be added under same match space separated