Sha256: 7b1fbdb889463c5a5b38fb5c0ed7ccd49db8434d518790ad2d8e1627222329eb
Contents?: true
Size: 687 Bytes
Versions: 3
Compression:
Stored size: 687 Bytes
Contents
module Beatport module Catalog class Label < Item has_many :genres, Genre has_many :subgenres, Genre has_many :top_downloads, Track has_many :featured_releases, Release has_many :most_popular_releases, Release has_one :images, Images def self.find(*args) Client.retrieve 'labels', Label, *args end def self.all(options = {}) Client.retrieve 'labels', Label, options end def self.featured(*args) Client.retrieve 'featured/labels', Label, *args end def releases(options) options[:label_id] = id Release.all(options) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
beatport-0.1.5 | lib/beatport/catalog/label.rb |
beatport-0.1.3 | lib/beatport/catalog/label.rb |
beatport-0.1.2 | lib/beatport/catalog/label.rb |