Class: ChronoForge::Dashboard::AnalyticsQuery::Bucket

Inherits:
Struct
  • Object
show all
Defined in:
app/queries/chrono_forge/dashboard/analytics_query.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#avg_durationObject

Returns the value of attribute avg_duration

Returns:

  • (Object)

    the current value of avg_duration



25
26
27
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25

def avg_duration
  @avg_duration
end

#completedObject

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



25
26
27
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25

def completed
  @completed
end

#dayObject

Returns the value of attribute day

Returns:

  • (Object)

    the current value of day



25
26
27
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25

def day
  @day
end

#failedObject

Returns the value of attribute failed

Returns:

  • (Object)

    the current value of failed



25
26
27
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 25

def failed
  @failed
end

Instance Method Details

#terminalObject



26
# File 'app/queries/chrono_forge/dashboard/analytics_query.rb', line 26

def terminal = completed + failed