Sha256: 69149943b8c465c4d5fe919270fb28cce0e8623fb342279db72afb6208a5bcdd
Contents?: true
Size: 547 Bytes
Versions: 15
Compression:
Stored size: 547 Bytes
Contents
# frozen_string_literal: true require "securerandom" module Meibo class Builder module AcademicSessionBuilder extend BaseBuilder def self.builder_attribute_names %i[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
15 entries across 15 versions & 1 rubygems