Class: Redditor::VideoBlock
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Redditor::VideoBlock
- Defined in:
- app/models/redditor/video_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
permalink #object_id ⇒ Object
Returns the value of attribute object_id.
5 6 7 |
# File 'app/models/redditor/video_block.rb', line 5 def object_id @object_id end |
Class Method Details
permalink .model_name ⇒ Object
[View source]
15 16 17 |
# File 'app/models/redditor/video_block.rb', line 15 def self.model_name ActiveModel::Name.new(self, nil, 'VideoBlock') end |
Instance Method Details
permalink #to_partial_path ⇒ Object
[View source]
11 12 13 |
# File 'app/models/redditor/video_block.rb', line 11 def to_partial_path 'redditor/video_block' end |