Class: ChronoForge::Dashboard::OverviewQuery::Row

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

Overview

A class's counts, bucketed the way the Overview reads them: processed (done), in-flight (live work), blocked (needs triage).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blockedObject

Returns the value of attribute blocked

Returns:

  • (Object)

    the current value of blocked



13
14
15
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13

def blocked
  @blocked
end

#in_flightObject

Returns the value of attribute in_flight

Returns:

  • (Object)

    the current value of in_flight



13
14
15
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13

def in_flight
  @in_flight
end

#job_classObject

Returns the value of attribute job_class

Returns:

  • (Object)

    the current value of job_class



13
14
15
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13

def job_class
  @job_class
end

#processedObject

Returns the value of attribute processed

Returns:

  • (Object)

    the current value of processed



13
14
15
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 13

def processed
  @processed
end

Instance Method Details

#totalObject



14
# File 'app/queries/chrono_forge/dashboard/overview_query.rb', line 14

def total = processed + in_flight + blocked