module IdCardQueueService class GetQueuedCounts def initialize() @employer_pl_plan_keys = IdCard::Setup.active.pluck(:pl_plan_key).join(',') end def call CallStoredProc.new('BrittonGetQueuedIdCardCountsTPA', { PLPlanKeys: @employer_pl_plan_keys }).call.to_ary end end end