# frozen_string_literal: true
class LogicSerializer
def self.load(logic)
if logic.present?
Logic.from_h(logic)
end
def self.dump(logic)
logic.to_h