Class: Insika::Harvest::Gate::Report
- Inherits:
-
Data
- Object
- Data
- Insika::Harvest::Gate::Report
- Defined in:
- lib/insika/harvest/gate.rb
Overview
The verdict for one candidate. passed is the only field the caller
acts on; the rest is what an operator reads.
Instance Attribute Summary collapse
-
#baseline_cases ⇒ Object
readonly
Returns the value of attribute baseline_cases.
-
#cached ⇒ Object
readonly
Returns the value of attribute cached.
-
#candidate_id ⇒ Object
readonly
Returns the value of attribute candidate_id.
-
#cases ⇒ Object
readonly
Returns the value of attribute cases.
-
#passed ⇒ Object
readonly
Returns the value of attribute passed.
-
#passed_cases ⇒ Object
readonly
Returns the value of attribute passed_cases.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
-
#regressions ⇒ Object
readonly
Returns the value of attribute regressions.
-
#report ⇒ Object
readonly
Returns the value of attribute report.
-
#tokens ⇒ Object
readonly
Returns the value of attribute tokens.
Instance Method Summary collapse
Instance Attribute Details
#baseline_cases ⇒ Object (readonly)
Returns the value of attribute baseline_cases
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def baseline_cases @baseline_cases end |
#cached ⇒ Object (readonly)
Returns the value of attribute cached
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def cached @cached end |
#candidate_id ⇒ Object (readonly)
Returns the value of attribute candidate_id
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def candidate_id @candidate_id end |
#cases ⇒ Object (readonly)
Returns the value of attribute cases
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def cases @cases end |
#passed ⇒ Object (readonly)
Returns the value of attribute passed
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def passed @passed end |
#passed_cases ⇒ Object (readonly)
Returns the value of attribute passed_cases
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def passed_cases @passed_cases end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def reason @reason end |
#regressions ⇒ Object (readonly)
Returns the value of attribute regressions
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def regressions @regressions end |
#report ⇒ Object (readonly)
Returns the value of attribute report
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def report @report end |
#tokens ⇒ Object (readonly)
Returns the value of attribute tokens
25 26 27 |
# File 'lib/insika/harvest/gate.rb', line 25 def tokens @tokens end |
Instance Method Details
#to_h ⇒ Object
27 28 29 30 31 32 |
# File 'lib/insika/harvest/gate.rb', line 27 def to_h { "candidate_id" => candidate_id, "passed" => passed, "reason" => reason, "cases" => cases, "passed_cases" => passed_cases, "baseline_cases" => baseline_cases, "regressions" => regressions, "report" => report, "tokens" => tokens, "cached" => cached } end |