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

#object_id ⇒ Object

Returns the value of attribute object_id.



9
10
11
# File 'app/models/redditor/image.rb', line 9

def object_id
  @object_id
end

Class Method Details

.model_name ⇒ Object



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

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