Class: Reeve::Testing::Checks::Base::Attempt
- Inherits:
-
Struct
- Object
- Struct
- Reeve::Testing::Checks::Base::Attempt
- Defined in:
- lib/reeve/testing/checks/base.rb
Overview
One attempt to call the tool: what came back, or what stopped it, plus the ledger rows the attempt produced.
Instance Attribute Summary collapse
-
#denial ⇒ Object
Returns the value of attribute denial.
-
#error ⇒ Object
Returns the value of attribute error.
-
#principal ⇒ Object
Returns the value of attribute principal.
-
#records ⇒ Object
Returns the value of attribute records.
-
#rows ⇒ Object
Returns the value of attribute rows.
Instance Method Summary collapse
Instance Attribute Details
#denial ⇒ Object
Returns the value of attribute denial
15 16 17 |
# File 'lib/reeve/testing/checks/base.rb', line 15 def denial @denial end |
#error ⇒ Object
Returns the value of attribute error
15 16 17 |
# File 'lib/reeve/testing/checks/base.rb', line 15 def error @error end |
#principal ⇒ Object
Returns the value of attribute principal
15 16 17 |
# File 'lib/reeve/testing/checks/base.rb', line 15 def principal @principal end |
#records ⇒ Object
Returns the value of attribute records
15 16 17 |
# File 'lib/reeve/testing/checks/base.rb', line 15 def records @records end |
#rows ⇒ Object
Returns the value of attribute rows
15 16 17 |
# File 'lib/reeve/testing/checks/base.rb', line 15 def rows @rows end |
Instance Method Details
#denied? ⇒ Boolean
17 18 19 |
# File 'lib/reeve/testing/checks/base.rb', line 17 def denied? !denial.nil? end |
#entry ⇒ Object
25 26 27 |
# File 'lib/reeve/testing/checks/base.rb', line 25 def entry rows.last end |
#failed? ⇒ Boolean
21 22 23 |
# File 'lib/reeve/testing/checks/base.rb', line 21 def failed? !error.nil? end |