Class: Redditor::TextBlock
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Redditor::TextBlock
- Defined in:
- app/models/redditor/text_block.rb
Instance Attribute Summary collapse
-
#temp_id ⇒ Object
attr_accessible :body, :page_id, :position, :temp_id, :translations_attributes.
Class Method Summary collapse
Instance Attribute Details
#temp_id ⇒ Object
attr_accessible :body, :page_id, :position, :temp_id, :translations_attributes
8 9 10 |
# File 'app/models/redditor/text_block.rb', line 8 def temp_id @temp_id end |
Class Method Details
.model_name ⇒ Object
16 17 18 |
# File 'app/models/redditor/text_block.rb', line 16 def self.model_name ActiveModel::Name.new(self, nil, 'TextBlock') end |