Sha256: 25298f4fdebb45e64f31e8ba708956cfef99db0c1ac1b4b9b59deb980140fbdd

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

module Queries
  module Group
    class FilterWithColor < Inquery::Query::Chainable
      relation class: 'Group'
      schema color: :string

      def call
        relation.where(color: osparams.color)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
inquery-0.1.0 test/queries/group/filter_with_color.rb
inquery-0.0.1 test/queries/group/filter_with_color.rb