Class: Redditor::TextBlock

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#object_id ⇒ Object

Returns the value of attribute object_id.



7
8
9
# File 'app/models/redditor/text_block.rb', line 7

def object_id
  @object_id
end

Class Method Details

.model_name ⇒ Object



15
16
17
# File 'app/models/redditor/text_block.rb', line 15

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