class Beatport::Catalog::Feature
Attributes
items[R]
associated this manually since we don't know the type of the items by default
Public Class Methods
new(data = {})
click to toggle source
Calls superclass method
# File lib/beatport/catalog/feature.rb, line 8 def initialize(data = {}) item_klass = Support::Inflector.constantize("Beatport::Catalog::#{data['type']}") associate(data, 'items', true, item_klass) super end