Sha256: 86d4b9c26c7d57f80689e2401b188133905e323e969535b7599731ef127a755b

Contents?: true

Size: 316 Bytes

Versions: 59

Compression:

Stored size: 316 Bytes

Contents

module ClarkKent
  class ReportNumberFilter < ReportFilter

    def filter_match_params
      [[self.min_param_name,self.min_value],[self.max_param_name,self.max_value]]
    end

    def min_param_name
      "#{self.filter_name}_min"
    end

    def max_param_name
      "#{self.filter_name}_max"
    end

  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
clark_kent-0.11.3 app/models/clark_kent/report_number_filter.rb
clark_kent-0.11.2 app/models/clark_kent/report_number_filter.rb
clark_kent-0.11.1 app/models/clark_kent/report_number_filter.rb
clark_kent-0.11.0 app/models/clark_kent/report_number_filter.rb
clark_kent-0.10.4 app/models/clark_kent/report_number_filter.rb
clark_kent-0.10.2 app/models/clark_kent/report_number_filter.rb
clark_kent-0.10.1 app/models/clark_kent/report_number_filter.rb
clark_kent-0.10.0 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.9 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.8 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.7 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.6 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.5 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.4 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.2 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.1 app/models/clark_kent/report_number_filter.rb
clark_kent-0.9.0 app/models/clark_kent/report_number_filter.rb
clark_kent-0.8.11 app/models/clark_kent/report_number_filter.rb
clark_kent-0.8.10 app/models/clark_kent/report_number_filter.rb
clark_kent-0.8.9 app/models/clark_kent/report_number_filter.rb