Sha256: f352993c9634a1c5704d29000ea5b91d8c1a6338af771ada5ccfa42da1191a5d
Contents?: true
Size: 489 Bytes
Versions: 8
Compression:
Stored size: 489 Bytes
Contents
module LogStash; module Filters; module Empow; class LogStash::Filters::Empow::ClassificationRequest < Struct.new(:product_type, :product, :term) def initialize(product_type, product, term) if product_type.nil? raise ArgumentError, 'product type cannot be empty' end product_type = product_type.upcase.strip unless product.nil? product = product.downcase.strip end super(product_type, product, term) end end end; end; end;
Version data entries
8 entries across 8 versions & 1 rubygems