Class: PactBroker::Matrix::QueryResultsWithDeploymentStatusSummary

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(query_results, deployment_status_summary) ⇒ QueryResultsWithDeploymentStatusSummary

Returns a new instance of QueryResultsWithDeploymentStatusSummary.



16
17
18
19
# File 'lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb', line 16

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

Instance Attribute Details

#deployment_status_summaryObject (readonly)

Returns the value of attribute deployment_status_summary.



9
10
11
# File 'lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb', line 9

def deployment_status_summary
  @deployment_status_summary
end

#query_resultsObject (readonly)

Returns the value of attribute query_results.



9
10
11
# File 'lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb', line 9

def query_results
  @query_results
end

Instance Method Details

#rowsObject



21
22
23
# File 'lib/pact_broker/matrix/query_results_with_deployment_status_summary.rb', line 21

def rows
  query_results.rows
end