Class: Amp::Repositories::Verification::VerificationResult
- Defined in:
- lib/amp/repository/verification.rb
Overview
Simple struct that handles the results of a verification.
Instance Attribute Summary collapse
-
#changesets ⇒ Object
Returns the value of attribute changesets.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#files ⇒ Object
Returns the value of attribute files.
-
#revisions ⇒ Object
Returns the value of attribute revisions.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(*args) ⇒ VerificationResult
constructor
A new instance of VerificationResult.
Constructor Details
#initialize(*args) ⇒ VerificationResult
Returns a new instance of VerificationResult.
419 420 421 422 423 424 425 426 |
# File 'lib/amp/repository/verification.rb', line 419 def initialize(*args) super(*args) @warnings = 0 @errors = 0 @revisions = 0 @files = 0 @changesets = 0 end |
Instance Attribute Details
#changesets ⇒ Object
Returns the value of attribute changesets
418 419 420 |
# File 'lib/amp/repository/verification.rb', line 418 def changesets @changesets end |
#errors ⇒ Object
Returns the value of attribute errors
418 419 420 |
# File 'lib/amp/repository/verification.rb', line 418 def errors @errors end |
#files ⇒ Object
Returns the value of attribute files
418 419 420 |
# File 'lib/amp/repository/verification.rb', line 418 def files @files end |
#revisions ⇒ Object
Returns the value of attribute revisions
418 419 420 |
# File 'lib/amp/repository/verification.rb', line 418 def revisions @revisions end |
#warnings ⇒ Object
Returns the value of attribute warnings
418 419 420 |
# File 'lib/amp/repository/verification.rb', line 418 def warnings @warnings end |