You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqm-dashboards/app/presenters/analyze/graph/all_parent.rb

28 lines
399 B

# frozen_string_literal: true
module Analyze
module Graph
class AllParent
def initialize(scales:)
@scales = scales
end
def to_s
"All Data"
end
def slug
"all-data"
end
def source
Analyze::Source::AllData.new(slices: [slice])
end
def slice
Analyze::Slice::AllData.new
end
end
end
end