Sha256: a21cae8a83eaf5c839470610e2094fa5b3efa8e2f45dcbb28b5a75b60ad59fa5

Contents?: true

Size: 192 Bytes

Versions: 14

Compression:

Stored size: 192 Bytes

Contents

module Queries
  module Group
    class FetchAsJson < Inquery::Query
      def call
        ::Group.all
      end

      def process(result)
        result.to_json
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
inquery-1.0.11 test/queries/group/fetch_as_json.rb
inquery-1.0.10 test/queries/group/fetch_as_json.rb
inquery-1.0.9 test/queries/group/fetch_as_json.rb
inquery-1.0.8 test/queries/group/fetch_as_json.rb
inquery-1.0.7 test/queries/group/fetch_as_json.rb
inquery-1.0.6 test/queries/group/fetch_as_json.rb
inquery-1.0.5 test/queries/group/fetch_as_json.rb
inquery-1.0.4 test/queries/group/fetch_as_json.rb
inquery-1.0.3 test/queries/group/fetch_as_json.rb
inquery-1.0.2 test/queries/group/fetch_as_json.rb
inquery-1.0.1 test/queries/group/fetch_as_json.rb
inquery-1.0.0 test/queries/group/fetch_as_json.rb
inquery-0.1.0 test/queries/group/fetch_as_json.rb
inquery-0.0.1 test/queries/group/fetch_as_json.rb