Sha256: 82ab04c96fe9c485c62924d11997bc8da25eae33aed307fc36df587350604620

Contents?: true

Size: 345 Bytes

Versions: 4

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module GraphQL
  module Groups
    class QueryResult
      attr_reader :key
      attr_reader :aggregate
      attr_reader :result_hash

      def initialize(key, aggregate, result)
        @key = Utils.wrap(key)
        @aggregate = Utils.wrap(aggregate)
        @result_hash = result
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
graphql-groups-0.2.3 lib/graphql/groups/query_result.rb
graphql-groups-0.2.2 lib/graphql/groups/query_result.rb
graphql-groups-0.2.1 lib/graphql/groups/query_result.rb
graphql-groups-0.2.0 lib/graphql/groups/query_result.rb