17 lines
483 B
Ruby
17 lines
483 B
Ruby
module EmployerCards
|
|
class GetQueuedCards
|
|
|
|
def initialize(pl_plan_keys)
|
|
if pl_plan_keys
|
|
@employer_pl_plan_keys = pl_plan_keys
|
|
else
|
|
@employer_pl_plan_keys = IdCard::Configuration.active.pluck(:pl_plan_key).join(',')
|
|
end
|
|
end
|
|
|
|
def call
|
|
CallStoredProc.new('BrittonGetQueuedIdCardMemberKeysTPA', { PLPlanKeys: @employer_pl_plan_keys }).call.to_ary
|
|
end
|
|
|
|
end
|
|
end |