Class: PactBroker::Matrix::EveryRow

Inherits:
Object
  • Object
show all
Includes:
MatrixRowInstanceMethods
Defined in:
lib/pact_broker/matrix/every_row.rb

Defined Under Namespace

Classes: Verification

Constant Summary collapse

PACT_COLUMNS_WITH_ALIASES =
[
  Sequel[:p][:consumer_id],
  Sequel[:p][:provider_id],
  Sequel[:p][:consumer_version_id],
  Sequel[:p][:id].as(:pact_publication_id),
  Sequel[:p][:pact_version_id],
  Sequel[:p][:revision_number].as(:pact_revision_number),
  Sequel[:p][:created_at].as(:consumer_version_created_at),
  Sequel[:p][:id].as(:pact_order)
]
ALL_COLUMNS_AFTER_JOIN =
[
  Sequel[:p][:consumer_id],
  Sequel[:p][:provider_id],
  Sequel[:p][:consumer_version_id],
  Sequel[:p][:pact_publication_id],
  Sequel[:p][:pact_version_id],
  Sequel[:p][:pact_revision_number],
  Sequel[:p][:consumer_version_created_at],
  Sequel[:p][:pact_order],
  Sequel[:v][:verification_id],
  Sequel[:v][:provider_version_id],
  Sequel[:v][:provider_version_created_at]
]

Instance Method Summary collapse

Methods included from MatrixRowInstanceMethods

#<=>, #compare_name_asc, #compare_number_desc, #consumer_name, #consumer_version_branch_versions, #consumer_version_deployed_versions, #consumer_version_number, #consumer_version_order, #consumer_version_released_versions, #eql?, #has_verification?, #involves_pacticipant_with_name?, #last_action_date, #pact_created_at, #pact_revision_number, #pact_version_sha, #pacticipant_names, #provider_name, #provider_version_branch_versions, #provider_version_deployed_versions, #provider_version_id, #provider_version_number, #provider_version_order, #provider_version_released_versions, #return_or_raise_if_not_set, #success, #to_s, #verification_executed_at, #verification_id, #verification_number

Instance Method Details

#pact_publication_idObject



78
79
80
# File 'lib/pact_broker/matrix/every_row.rb', line 78

def pact_publication_id
  return_or_raise_if_not_set(:pact_publication_id)
end