Sha256: 08c9fdcab68f9d5a6eeced511502891a60c58d499ab9a7e56261e2c9a0ee12b5
Contents?: true
Size: 548 Bytes
Versions: 16
Compression:
Stored size: 548 Bytes
Contents
# frozen_string_literal: true require 'securerandom' module Meibo class Builder module AcademicSessionBuilder extend BaseBuilder def self.builder_attribute_names [:builder, :parent] end def initialize(builder:, sourced_id: SecureRandom.uuid, parent: nil, **kw) super( sourced_id: sourced_id, parent_sourced_id: parent&.sourced_id, **kw ) @builder = builder @parent = parent builder.academic_sessions << self end end end end
Version data entries
16 entries across 16 versions & 1 rubygems