Class: Eco::API::UseCases::GraphQL::Samples::Pages::Template::Deploy::Verifier::NullVerifier

Inherits:
Verifier
  • Object
show all
Defined in:
lib/eco/api/usecases/graphql/samples/pages/template/deploy/verifier.rb

Overview

Always-pass verifier used when no real check framework is wired in. It is honest about it: the verdict records that qa was unavailable so a report never falsely claims "qa verified".

Instance Method Summary collapse

Instance Method Details

#verify(_template_doc) ⇒ Object



72
73
74
75
76
77
78
# File 'lib/eco/api/usecases/graphql/samples/pages/template/deploy/verifier.rb', line 72

def verify(_template_doc)
  Verdict.new(
    pass:     true,
    verifier: 'null',
    findings: [{ severity: :info, message: 'ecoportal-qa not available; no checks run' }]
  )
end