Class: Refinery::Contacts::TableLessModel
- Inherits:
-
Object
- Object
- Refinery::Contacts::TableLessModel
- Extended by:
- ActiveModel::Naming, ActiveModel::Translation
- Includes:
- ActiveModel::Conversion, ActiveModel::Validations
- Defined in:
- app/models/refinery/contacts/table_less_model.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ TableLessModel
constructor
A new instance of TableLessModel.
- #persisted? ⇒ Boolean
Constructor Details
#initialize(attributes = {}) ⇒ TableLessModel
Returns a new instance of TableLessModel.
11 12 13 14 15 |
# File 'app/models/refinery/contacts/table_less_model.rb', line 11 def initialize(attributes = {}) attributes.each do |name, value| send("#{name}=", value) end end |
Instance Method Details
#persisted? ⇒ Boolean
17 18 19 |
# File 'app/models/refinery/contacts/table_less_model.rb', line 17 def persisted? false end |