Class: KirguduBase::DynamicPages::ManagementSettings

Inherits:
Element
  • Object
show all
Defined in:
app/models/kirgudu_base/dynamic_pages/management_settings.rb

Instance Attribute Summary collapse

Attributes inherited from Element

#parent_entry

Instance Method Summary collapse

Methods inherited from Element

#as_json, #fix_parent_entry, #kontroller_klass, #to_external_hash

Methods included from Models::MergeableElements::ClassMethods

#get_mergeable_attributes, #mergeable_attributes

Methods included from Models::FixableElements::ClassMethods

#fixable_attributes, #get_kb_fixable_attributes

Methods included from Models::FixableElements::InstanceMethods

#fix_parent_entry

Methods included from Models::MergeableElements::InstanceMethods

#merge

Constructor Details

#initialize(options = {}) ⇒ ManagementSettings

Returns a new instance of ManagementSettings.



11
12
13
14
15
16
17
18
19
# File 'app/models/kirgudu_base/dynamic_pages/management_settings.rb', line 11

def initialize(options = {})
  self.name = nil
  self.item_class = nil
  self.container_class = nil
  self.entry_class = nil
  self.container_id_property = nil
  self.entry_id_property = nil
  super(options)
end

Instance Attribute Details

#container_classObject

Returns the value of attribute container_class.



23
24
25
# File 'app/models/kirgudu_base/dynamic_pages/management_settings.rb', line 23

def container_class
  @container_class
end

#container_id_propertyObject

Returns the value of attribute container_id_property.



25
26
27
# File 'app/models/kirgudu_base/dynamic_pages/management_settings.rb', line 25

def container_id_property
  @container_id_property
end

#entry_classObject

Returns the value of attribute entry_class.



24
25
26
# File 'app/models/kirgudu_base/dynamic_pages/management_settings.rb', line 24

def entry_class
  @entry_class
end

#entry_id_propertyObject

Returns the value of attribute entry_id_property.



26
27
28
# File 'app/models/kirgudu_base/dynamic_pages/management_settings.rb', line 26

def entry_id_property
  @entry_id_property
end

#item_classObject

Returns the value of attribute item_class.



22
23
24
# File 'app/models/kirgudu_base/dynamic_pages/management_settings.rb', line 22

def item_class
  @item_class
end

#nameObject

Returns the value of attribute name.



21
22
23
# File 'app/models/kirgudu_base/dynamic_pages/management_settings.rb', line 21

def name
  @name
end