enum

MetricsController::Chart::Granularity

Inherits Enum < Comparable < Value < Object

Constants

Daily = 0
Weekly = 1
Monthly = 2
Yearly = 3
Hourly = 4

Instance methods

daily?

Returns true if this enum value equals Daily

Source
hourly?

Returns true if this enum value equals Hourly

Source
monthly?

Returns true if this enum value equals Monthly

Source
weekly?

Returns true if this enum value equals Weekly

Source
yearly?

Returns true if this enum value equals Yearly

Source