Class: Redditor::Image
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Redditor::Image
- Defined in:
- app/models/redditor/image.rb
Instance Attribute Summary collapse
-
#temp_id ⇒ Object
attr_accessible :descr, :imageable_id, :imageable_type, :position, :src, :temp_id.
Class Method Summary collapse
Instance Attribute Details
#temp_id ⇒ Object
attr_accessible :descr, :imageable_id, :imageable_type, :position, :src, :temp_id
10 11 12 |
# File 'app/models/redditor/image.rb', line 10 def temp_id @temp_id end |
Class Method Details
.model_name ⇒ Object
20 21 22 |
# File 'app/models/redditor/image.rb', line 20 def self.model_name ActiveModel::Name.new(self, nil, 'Image') end |