Class: Ask::Monitoring::Metrics::Base
- Inherits:
-
Object
- Object
- Ask::Monitoring::Metrics::Base
- Defined in:
- lib/ask/monitoring/metrics/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
- #as_chart_data ⇒ Object
-
#initialize(scope) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(scope) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/ask/monitoring/metrics/base.rb', line 7 def initialize(scope) @scope = scope end |
Instance Attribute Details
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
5 6 7 |
# File 'lib/ask/monitoring/metrics/base.rb', line 5 def scope @scope end |
Instance Method Details
#as_chart_data ⇒ Object
11 12 13 |
# File 'lib/ask/monitoring/metrics/base.rb', line 11 def as_chart_data raise NotImplementedError end |