Class: Cartography::AcceptanceResult::Summary

Inherits:
Object
  • Object
show all
Defined in:
lib/cartography/acceptance.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#statusObject (readonly)

Returns the value of attribute status.



65
66
67
# File 'lib/cartography/acceptance.rb', line 65

def status
  @status
end

#total_failedObject (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_skippedObject (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_successObject (readonly)

Returns the value of attribute total_success.



65
66
67
# File 'lib/cartography/acceptance.rb', line 65

def total_success
  @total_success
end