Class: Flexite::Config::Form

Inherits:
BaseForm show all
Defined in:
app/forms/flexite/config/form.rb

Instance Attribute Summary collapse

Attributes inherited from BaseForm

#attributes

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseForm

#initialize, #new_record?, #persisted?

Constructor Details

This class inherits a constructor from Flexite::BaseForm

Instance Attribute Details

#config_idObject

Returns the value of attribute config_id.



5
6
7
# File 'app/forms/flexite/config/form.rb', line 5

def config_id
  @config_id
end

#created_byObject

Returns the value of attribute created_by.



5
6
7
# File 'app/forms/flexite/config/form.rb', line 5

def created_by
  @created_by
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'app/forms/flexite/config/form.rb', line 5

def description
  @description
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'app/forms/flexite/config/form.rb', line 5

def id
  @id
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'app/forms/flexite/config/form.rb', line 5

def name
  @name
end

#selectableObject

Returns the value of attribute selectable.



5
6
7
# File 'app/forms/flexite/config/form.rb', line 5

def selectable
  @selectable
end

Class Method Details

.model_nameObject



8
9
10
# File 'app/forms/flexite/config/form.rb', line 8

def self.model_name
  Config.model_name
end

Instance Method Details

#history_typeObject



12
13
14
# File 'app/forms/flexite/config/form.rb', line 12

def history_type
  Config.name.underscore
end