Class: Athar::Dashboard::KpiCalculator::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/athar/dashboard/kpi_calculator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#distinct_actors_30dObject (readonly)

Returns the value of attribute distinct_actors_30d

Returns:

  • (Object)

    the current value of distinct_actors_30d



6
7
8
# File 'lib/athar/dashboard/kpi_calculator.rb', line 6

def distinct_actors_30d
  @distinct_actors_30d
end

#last_24hObject (readonly)

Returns the value of attribute last_24h

Returns:

  • (Object)

    the current value of last_24h



6
7
8
# File 'lib/athar/dashboard/kpi_calculator.rb', line 6

def last_24h
  @last_24h
end

#last_7dObject (readonly)

Returns the value of attribute last_7d

Returns:

  • (Object)

    the current value of last_7d



6
7
8
# File 'lib/athar/dashboard/kpi_calculator.rb', line 6

def last_7d
  @last_7d
end

#prior_7dObject (readonly)

Returns the value of attribute prior_7d

Returns:

  • (Object)

    the current value of prior_7d



6
7
8
# File 'lib/athar/dashboard/kpi_calculator.rb', line 6

def prior_7d
  @prior_7d
end

#scope_totalObject (readonly)

Returns the value of attribute scope_total

Returns:

  • (Object)

    the current value of scope_total



6
7
8
# File 'lib/athar/dashboard/kpi_calculator.rb', line 6

def scope_total
  @scope_total
end

#sparklineObject (readonly)

Returns the value of attribute sparkline

Returns:

  • (Object)

    the current value of sparkline



6
7
8
# File 'lib/athar/dashboard/kpi_calculator.rb', line 6

def sparkline
  @sparkline
end

#truncates_30dObject (readonly)

Returns the value of attribute truncates_30d

Returns:

  • (Object)

    the current value of truncates_30d



6
7
8
# File 'lib/athar/dashboard/kpi_calculator.rb', line 6

def truncates_30d
  @truncates_30d
end