Class: Gem::Guardian::VerificationResult
- Inherits:
-
Data
- Object
- Data
- Gem::Guardian::VerificationResult
- Defined in:
- lib/gem/guardian/verifier.rb
Instance Attribute Summary collapse
-
#actual_sha256 ⇒ Object
readonly
Returns the value of attribute actual_sha256.
-
#artifact_path ⇒ Object
readonly
Returns the value of attribute artifact_path.
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#expected_sha256 ⇒ Object
readonly
Returns the value of attribute expected_sha256.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#actual_sha256 ⇒ Object (readonly)
Returns the value of attribute actual_sha256
5 6 7 |
# File 'lib/gem/guardian/verifier.rb', line 5 def actual_sha256 @actual_sha256 end |
#artifact_path ⇒ Object (readonly)
Returns the value of attribute artifact_path
5 6 7 |
# File 'lib/gem/guardian/verifier.rb', line 5 def artifact_path @artifact_path end |
#dependency ⇒ Object (readonly)
Returns the value of attribute dependency
5 6 7 |
# File 'lib/gem/guardian/verifier.rb', line 5 def dependency @dependency end |
#error ⇒ Object (readonly)
Returns the value of attribute error
5 6 7 |
# File 'lib/gem/guardian/verifier.rb', line 5 def error @error end |
#expected_sha256 ⇒ Object (readonly)
Returns the value of attribute expected_sha256
5 6 7 |
# File 'lib/gem/guardian/verifier.rb', line 5 def expected_sha256 @expected_sha256 end |
#status ⇒ Object (readonly)
Returns the value of attribute status
5 6 7 |
# File 'lib/gem/guardian/verifier.rb', line 5 def status @status end |
Instance Method Details
#ok? ⇒ Boolean
6 7 8 |
# File 'lib/gem/guardian/verifier.rb', line 6 def ok? status == :ok end |