lib/bidu/house/report/error.rb in bidu-house-1.2.0 vs lib/bidu/house/report/error.rb in bidu-house-1.3.0

- old
+ new

@@ -14,10 +14,10 @@ json_parse :threshold, type: :float json_parse :scope, :external_key, :uniq, :limit, case: :snake def initialize(options) - super(DEFAULT_OPTION.merge(options)) + super(self.class::DEFAULT_OPTION.merge(options)) end def percentage @percentage ||= fetch_percentage end