Class: Redditor::TextBlock

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/redditor/text_block.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#temp_idObject

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_nameObject



16
17
18
# File 'app/models/redditor/text_block.rb', line 16

def self.model_name
  ActiveModel::Name.new(self, nil, 'TextBlock')
end