Sha256: 607d7342a1ff27cfb976808a9c13982e092d0252dcbb2cb9d103c6e6ff638b02

Contents?: true

Size: 452 Bytes

Versions: 69

Compression:

Stored size: 452 Bytes

Contents

module PactBroker
  module Matrix
    class QueryResults < Array
      attr_reader :selectors, :options, :resolved_selectors, :integrations

      def initialize rows, selectors, options, resolved_selectors, integrations
        super(rows)
        @selectors = selectors
        @resolved_selectors = resolved_selectors
        @options = options
        @integrations = integrations
      end

      def rows
        to_a
      end
    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
pact_broker-2.36.1 lib/pact_broker/matrix/query_results.rb
pact_broker-2.36.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.35.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.34.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.33.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.32.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.31.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.30.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.29.0 lib/pact_broker/matrix/query_results.rb