Sha256: 9d9f1f10ff2aba97140149f1c8f3281d769025de3cb02e858ce438523584a46c

Contents?: true

Size: 690 Bytes

Versions: 23

Compression:

Stored size: 690 Bytes

Contents

require 'pact_broker/matrix/query_results'

module PactBroker
  module Matrix
    class QueryResultsWithDeploymentStatusSummary
      extend Forwardable

      attr_reader :query_results, :deployment_status_summary

      delegate [:selectors, :options, :resolved_selectors, :integrations] => :query_results
      delegate (Array.instance_methods - Object.instance_methods) => :rows
      delegate [:deployable?] => :deployment_status_summary


      def initialize query_results, deployment_status_summary
        @query_results = query_results
        @deployment_status_summary = deployment_status_summary
      end

      def rows
        query_results.rows
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
pact_broker-2.66.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.65.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.64.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.63.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.62.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.61.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.60.1 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.60.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.59.2 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.59.1 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.59.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.58.3 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.58.2 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.58.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.57.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.56.1 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.56.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.55.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.54.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb
pact_broker-2.53.0 lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb