Class: Redditor::VideoBlock

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/redditor/video_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.


5
6
7
# File 'app/models/redditor/video_block.rb', line 5

def object_id
  @object_id
end

Class Method Details

.model_nameObject

[View source]

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

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

Instance Method Details

#to_partial_pathObject

[View source]

11
12
13
# File 'app/models/redditor/video_block.rb', line 11

def to_partial_path
  'redditor/video_block'
end