Class: Config

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/generators/active_admin_simple_life/templates/config_model.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#configurable_identifierObject

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_fieldsObject



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