class Beatport::Catalog::Chart
Public Class Methods
all(options = {})
click to toggle source
# File lib/beatport/catalog/chart.rb, line 14 def self.all(options = {}) Client.retrieve 'charts', Chart, options end
featured(*args)
click to toggle source
# File lib/beatport/catalog/chart.rb, line 22 def self.featured(*args) Client.retrieve 'featured/charts', Chart, *args end
find(*keys)
click to toggle source
# File lib/beatport/catalog/chart.rb, line 10 def self.find(*keys) Client.retrieve 'charts', Chart, *keys end
overview()
click to toggle source
# File lib/beatport/catalog/chart.rb, line 18 def self.overview ChartOverview.get end
Public Instance Methods
tracks(options = {})
click to toggle source
# File lib/beatport/catalog/chart.rb, line 26 def tracks(options = {}) options[:chart_id] = id Track.all(options) end