lib/meibo/builder/organization_builder.rb in meibo-0.16.0 vs lib/meibo/builder/organization_builder.rb in meibo-0.17.0
- old
+ new
@@ -1,15 +1,15 @@
# frozen_string_literal: true
-require 'securerandom'
+require "securerandom"
module Meibo
class Builder
module OrganizationBuilder
extend BaseBuilder
def self.builder_attribute_names
- [:builder, :parent]
+ %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