Class: Config
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Config
- Defined in:
- lib/generators/active_admin_simple_life/templates/config_model.rb
Instance Attribute Summary collapse
-
#configurable_identifier ⇒ Object
Returns the value of attribute configurable_identifier.
Class Method Summary collapse
Instance Attribute Details
#configurable_identifier ⇒ Object
Returns the value of attribute configurable_identifier.
7 8 9 |
# File 'lib/generators/active_admin_simple_life/templates/config_model.rb', line 7 def configurable_identifier @configurable_identifier end |
Class Method Details
.main_fields ⇒ Object
9 10 11 |
# File 'lib/generators/active_admin_simple_life/templates/config_model.rb', line 9 def self.main_fields [:title, :internal_name, :configurable, :primitive] end |