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 ce8f41e560
commit 0cae6c07bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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