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 Method Summary collapse

Instance Attribute Details

#object_idObject

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_nameObject



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

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

Instance Method Details

#to_partial_pathObject



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

def to_partial_path
  'redditor/text_block'
end