# frozen_string_literal: true module RequestHandler module Validation class Result attr_accessor :errors, :output def initialize(errors:, output:) self.errors = errors self.output = output end def valid? errors.empty? end end end end