Class: Perka::Model::ParticipationTarget

Inherits:
ListTarget show all
Defined in:
lib/perka/model/participation_target.rb

Overview

Classifies customers based on their performance within the <entityReference payloadName=‘program’> Program</entityReference> associated with a <entityReference payloadName=‘programType’> ProgramType</entityReference>.

Constant Summary collapse

PROPERTY_NAMES =
[

  # The program type for which punches should be found.
  :program_type,
  :metric,

  # The comparison value.
  :threshold,

  # A moving window used to filter the statistics.
  :window_days
]
TYPE_MAP =
{
  :program_type => Perka::Model::ProgramType
}