Module: OpenObserve::Api::Models::LineInterpolation
- Defined in:
- lib/openobserve-api/models/line_interpolation.rb
Constant Summary collapse
- SMOOTH =
'smooth'- LINEAR =
'linear'- STEP_START =
'step-start'- STEP_END =
'step-end'- STEP_MIDDLE =
'step-middle'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/openobserve-api/models/line_interpolation.rb', line 18 def self.all @all ||= [ SMOOTH, LINEAR, STEP_START, STEP_END, STEP_MIDDLE, ].freeze end |
.valid?(value) ⇒ Boolean
28 29 30 |
# File 'lib/openobserve-api/models/line_interpolation.rb', line 28 def self.valid?(value) all.include?(value) end |