Class: Flightdeck::Metrics::Series::Point
- Inherits:
-
Struct
- Object
- Struct
- Flightdeck::Metrics::Series::Point
- Defined in:
- app/models/flightdeck/metrics/series.rb
Instance Attribute Summary collapse
-
#at ⇒ Object
Returns the value of attribute at.
-
#failed ⇒ Object
Returns the value of attribute failed.
-
#seconds ⇒ Object
Returns the value of attribute seconds.
-
#succeeded ⇒ Object
Returns the value of attribute succeeded.
Instance Method Summary collapse
Instance Attribute Details
#at ⇒ Object
Returns the value of attribute at
30 31 32 |
# File 'app/models/flightdeck/metrics/series.rb', line 30 def at @at end |
#failed ⇒ Object
Returns the value of attribute failed
30 31 32 |
# File 'app/models/flightdeck/metrics/series.rb', line 30 def failed @failed end |
#seconds ⇒ Object
Returns the value of attribute seconds
30 31 32 |
# File 'app/models/flightdeck/metrics/series.rb', line 30 def seconds @seconds end |
#succeeded ⇒ Object
Returns the value of attribute succeeded
30 31 32 |
# File 'app/models/flightdeck/metrics/series.rb', line 30 def succeeded @succeeded end |
Instance Method Details
#blank? ⇒ Boolean
32 |
# File 'app/models/flightdeck/metrics/series.rb', line 32 def blank? = seconds.nil? |
#total ⇒ Object
31 |
# File 'app/models/flightdeck/metrics/series.rb', line 31 def total = succeeded.to_i + failed.to_i |