Class: Dragnet::Verifiers::RepositoryVerifier
- Defined in:
- lib/dragnet/verifiers/repository_verifier.rb
Overview
Base class for the Verifiers that need access to the repository to perform the validation.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Attributes inherited from Verifier
Instance Method Summary collapse
-
#initialize(test_record:, repository:) ⇒ RepositoryVerifier
constructor
A new instance of RepositoryVerifier.
Methods inherited from Verifier
Methods included from Helpers::RepositoryHelper
#relative_to_repo, #repo_base, #shorten_sha1
Constructor Details
#initialize(test_record:, repository:) ⇒ RepositoryVerifier
Returns a new instance of RepositoryVerifier.
14 15 16 17 |
# File 'lib/dragnet/verifiers/repository_verifier.rb', line 14 def initialize(test_record:, repository:) super(test_record: test_record) @repository = repository end |
Instance Attribute Details
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
10 11 12 |
# File 'lib/dragnet/verifiers/repository_verifier.rb', line 10 def repository @repository end |