Class: Redditor::Image

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#temp_idObject

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_nameObject



20
21
22
# File 'app/models/redditor/image.rb', line 20

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