Class: Redditor::SliderBlock

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#kindObject

Returns the value of attribute kind.


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

def kind
  @kind
end

#object_idObject

Returns the value of attribute object_id.


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

def object_id
  @object_id
end

Class Method Details

.model_nameObject


17
18
19
# File 'app/models/redditor/slider_block.rb', line 17

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

Instance Method Details

#to_partial_pathObject


13
14
15
# File 'app/models/redditor/slider_block.rb', line 13

def to_partial_path
  'redditor/slider_block'
end