Class: Cartography::AcceptanceResult::Summary
- Inherits:
-
Object
- Object
- Cartography::AcceptanceResult::Summary
- Defined in:
- lib/cartography/acceptance.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#total_failed ⇒ Object
readonly
Returns the value of attribute total_failed.
-
#total_skipped ⇒ Object
readonly
Returns the value of attribute total_skipped.
-
#total_success ⇒ Object
readonly
Returns the value of attribute total_success.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Summary
constructor
A new instance of Summary.
Constructor Details
#initialize(params = {}) ⇒ Summary
Returns a new instance of Summary.
67 68 69 70 71 72 |
# File 'lib/cartography/acceptance.rb', line 67 def initialize(params = {}) @status = params["Status"] @total_failed = params["TotalFailed"].to_i @total_skipped = params["TotalSkipped"].to_i @total_success = params["TotalSuccess"].to_i end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
65 66 67 |
# File 'lib/cartography/acceptance.rb', line 65 def status @status end |
#total_failed ⇒ Object (readonly)
Returns the value of attribute total_failed.
65 66 67 |
# File 'lib/cartography/acceptance.rb', line 65 def total_failed @total_failed end |
#total_skipped ⇒ Object (readonly)
Returns the value of attribute total_skipped.
65 66 67 |
# File 'lib/cartography/acceptance.rb', line 65 def total_skipped @total_skipped end |
#total_success ⇒ Object (readonly)
Returns the value of attribute total_success.
65 66 67 |
# File 'lib/cartography/acceptance.rb', line 65 def total_success @total_success end |