Sha256: 741b6f7f74292428ab3ec5d9d4d8ad351f8d17cfb030965662959df3beff46e4

Contents?: true

Size: 270 Bytes

Versions: 19

Compression:

Stored size: 270 Bytes

Contents

module Avo
  module Filters
    class <%= class_name.camelize %> < BooleanFilter
      def name
        '<%= name.underscore.humanize %>'
      end

      def apply(request, query, value)
        query
      end

      def options
        {}
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
avo-0.5.0.beta1 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.10 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.9 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.8 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.7 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.6 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.5 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.4 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.3 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.2 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.4.1 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.3.2 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.3.1 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.2.5 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.2.4 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.2.3 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.2.2 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.2.1 lib/generators/avo/templates/filters/boolean_filter.rb
avo-0.2.0 lib/generators/avo/templates/filters/boolean_filter.rb