class WolfCore::ApplicationService
def validate_presence(object, message)
def validate_presence(object, message) return if object.present? raise_service_error({ message: message }) end
def validate_presence(object, message) return if object.present? raise_service_error({ message: message }) end