Class: Redditor::TextBlock
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Redditor::TextBlock
- Defined in:
- app/models/redditor/text_block.rb
Instance Attribute Summary collapse
-
#object_id ⇒ Object
Returns the value of attribute object_id.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#object_id ⇒ Object
Returns the value of attribute object_id.
7 8 9 |
# File 'app/models/redditor/text_block.rb', line 7 def object_id @object_id end |
Class Method Details
.model_name ⇒ Object
19 20 21 |
# File 'app/models/redditor/text_block.rb', line 19 def self.model_name ActiveModel::Name.new(self, nil, 'TextBlock') end |
Instance Method Details
#to_partial_path ⇒ Object
15 16 17 |
# File 'app/models/redditor/text_block.rb', line 15 def to_partial_path 'redditor/text_block' end |