Fix issue #16603 undefined method `serialize_payload' for Unsuspend Account Service error.
It seems that this service forgot to `include Payloadable` so that `serialize_payload` could not be found in this service.
This commit is contained in:
Holger 2021-08-20 14:39:37 +08:00 committed by GitHub
parent 8821406960
commit 56839ac64f

View file

@ -1,6 +1,7 @@
# frozen_string_literal: true
class UnsuspendAccountService < BaseService
include Payloadable
def call(account)
@account = account