Sha256: 7511ed603369121bb01c804ca956a70e28b3a83de57be41bfdcd86503f4752bd

Contents?: true

Size: 386 Bytes

Versions: 11

Compression:

Stored size: 386 Bytes

Contents

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

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

      def rows
        to_a
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pact_broker-2.27.6 lib/pact_broker/matrix/query_results.rb
pact_broker-2.27.5 lib/pact_broker/matrix/query_results.rb
pact_broker-2.27.4 lib/pact_broker/matrix/query_results.rb
pact_broker-2.27.3 lib/pact_broker/matrix/query_results.rb
pact_broker-2.27.2 lib/pact_broker/matrix/query_results.rb
pact_broker-2.27.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.26.1 lib/pact_broker/matrix/query_results.rb
pact_broker-2.26.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.25.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.24.0 lib/pact_broker/matrix/query_results.rb
pact_broker-2.23.4 lib/pact_broker/matrix/query_results.rb