Class: PactBroker::Matrix::QueryResults
- Inherits:
-
Array
- Object
- Array
- PactBroker::Matrix::QueryResults
- Defined in:
- lib/pact_broker/matrix/query_results.rb
Instance Attribute Summary collapse
-
#integrations ⇒ Object
readonly
Returns the value of attribute integrations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#resolved_selectors ⇒ Object
readonly
Returns the value of attribute resolved_selectors.
-
#selectors ⇒ Object
readonly
Returns the value of attribute selectors.
Instance Method Summary collapse
-
#initialize(rows, selectors, options, resolved_selectors, integrations) ⇒ QueryResults
constructor
A new instance of QueryResults.
- #rows ⇒ Object
Constructor Details
#initialize(rows, selectors, options, resolved_selectors, integrations) ⇒ QueryResults
Returns a new instance of QueryResults.
6 7 8 9 10 11 12 |
# File 'lib/pact_broker/matrix/query_results.rb', line 6 def initialize rows, selectors, , resolved_selectors, integrations super(rows) @selectors = selectors @resolved_selectors = resolved_selectors @options = @integrations = integrations end |
Instance Attribute Details
#integrations ⇒ Object (readonly)
Returns the value of attribute integrations.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def integrations @integrations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def @options end |
#resolved_selectors ⇒ Object (readonly)
Returns the value of attribute resolved_selectors.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def resolved_selectors @resolved_selectors end |
#selectors ⇒ Object (readonly)
Returns the value of attribute selectors.
4 5 6 |
# File 'lib/pact_broker/matrix/query_results.rb', line 4 def selectors @selectors end |
Instance Method Details
#rows ⇒ Object
14 15 16 |
# File 'lib/pact_broker/matrix/query_results.rb', line 14 def rows to_a end |