Class: Sigstore::VerificationFailure

Inherits:
VerificationResult show all
Defined in:
lib/sigstore/models.rb

Instance Attribute Summary collapse

Attributes inherited from VerificationResult

#success

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ VerificationFailure



39
40
41
42
# File 'lib/sigstore/models.rb', line 39

def initialize(reason)
  @reason = reason
  super(success: false)
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



37
38
39
# File 'lib/sigstore/models.rb', line 37

def reason
  @reason
end