Class: Beatport::Catalog::Slideshow
- Defined in:
- lib/beatport/catalog/slideshow.rb
Instance Attribute Summary collapse
-
#genre_id ⇒ Object
Returns the value of attribute genre_id.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Item
#[], #associate, associations, find_by_name, has_many, has_one, #id, #initialize, lazy_accessor, #type
Constructor Details
This class inherits a constructor from Beatport::Item
Instance Attribute Details
#genre_id ⇒ Object
Returns the value of attribute genre_id.
4 5 6 |
# File 'lib/beatport/catalog/slideshow.rb', line 4 def genre_id @genre_id end |
Class Method Details
Instance Method Details
#feature ⇒ Object
20 21 22 |
# File 'lib/beatport/catalog/slideshow.rb', line 20 def feature @feature ||= Slide.feature(:genre_id => genre_id) end |