module Beatport module Catalog class Artist < Item has_many :genres, Genre has_many :subgenres, Genre has_one :images, Images has_many :top_downloads, Track has_many :featured_releases, Release def self.find(id) Client.retrieve('artists/detail', Artist, :id => id) end def self.all(*args) Client.retrieve 'artists', Artist, *args end end end end