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