module EmployerCards class QueueCounter def initialize() @employer_pl_plan_keys = IdCard::Configuration.active.pluck(:pl_plan_key).join(',') end def call CallStoredProc.new('HLGetQueuedIdCardsTPANewCount', { PLPlanKeys: @employer_pl_plan_keys }).call.to_ary end end end