Class: Avo::Resources::Items::MainPanel::Builder

Inherits:
ItemGroup::Builder
  • Object
show all
Defined in:
lib/avo/resources/items/main_panel.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent:, **args) ⇒ Builder

Returns a new instance of Builder.



3
4
5
6
# File 'lib/avo/resources/items/main_panel.rb', line 3

def initialize(parent:, **args)
  @panel = Avo::Resources::Items::MainPanel.new(**args)
  @items_holder = Avo::Resources::Items::Holder.new(from: self.class, parent: parent)
end