Module: Beatport::Catalog

Defined in:
lib/beatport/catalog.rb,
lib/beatport/catalog/key.rb,
lib/beatport/catalog/mix.rb,
lib/beatport/catalog/home.rb,
lib/beatport/catalog/keys.rb,
lib/beatport/catalog/list.rb,
lib/beatport/catalog/part.rb,
lib/beatport/catalog/chart.rb,
lib/beatport/catalog/genre.rb,
lib/beatport/catalog/image.rb,
lib/beatport/catalog/label.rb,
lib/beatport/catalog/mixed.rb,
lib/beatport/catalog/slide.rb,
lib/beatport/catalog/state.rb,
lib/beatport/catalog/track.rb,
lib/beatport/catalog/artist.rb,
lib/beatport/catalog/images.rb,
lib/beatport/catalog/search.rb,
lib/beatport/catalog/country.rb,
lib/beatport/catalog/feature.rb,
lib/beatport/catalog/release.rb,
lib/beatport/catalog/currency.rb,
lib/beatport/catalog/djprofile.rb,
lib/beatport/catalog/item_type.rb,
lib/beatport/catalog/slideshow.rb,
lib/beatport/catalog/source_type.rb,
lib/beatport/catalog/account_type.rb,
lib/beatport/catalog/audio_format.rb,
lib/beatport/catalog/autocomplete.rb,
lib/beatport/catalog/dynamic_image.rb,
lib/beatport/catalog/chart_overview.rb,
lib/beatport/catalog/dynamic_images.rb,
lib/beatport/catalog/recommendations.rb,
lib/beatport/catalog/audio_format_fee.rb

Defined Under Namespace

Classes: AccountType, Artist, AudioFormat, AudioFormatFee, Autocomplete, Chart, ChartOverview, Country, Currency, Djprofile, DynamicImage, DynamicImages, Feature, Genre, Home, Image, Images, ItemType, Key, Keys, Label, List, Mix, Mixed, Part, Recommendations, Release, Search, Slide, Slideshow, SourceType, State, Track

Class Method Summary collapse

Class Method Details

.artist(id) ⇒ Object



37
38
39
# File 'lib/beatport/catalog.rb', line 37

def self.artist(id)
  Artist.find(id)
end

.artists(*args) ⇒ Object



41
42
43
# File 'lib/beatport/catalog.rb', line 41

def self.artists(*args)
  Artist.all(*args)
end

.chart(id) ⇒ Object



45
46
47
# File 'lib/beatport/catalog.rb', line 45

def self.chart(id)
  Chart.find(id)
end

.chart_overview(*args) ⇒ Object



49
50
51
# File 'lib/beatport/catalog.rb', line 49

def self.chart_overview(*args)
  ChartOverview.get
end

.charts(*args) ⇒ Object



53
54
55
# File 'lib/beatport/catalog.rb', line 53

def self.charts(*args)
  Chart.all
end

.genre(key) ⇒ Object



57
58
59
# File 'lib/beatport/catalog.rb', line 57

def self.genre(key)
  Genre.find(key)
end

.genre_overviewObject



61
62
63
# File 'lib/beatport/catalog.rb', line 61

def self.genre_overview
  Genre.overview
end

.genres(*args) ⇒ Object



65
66
67
# File 'lib/beatport/catalog.rb', line 65

def self.genres(*args)
  Genre.all(*args)
end

.homeObject



69
70
71
# File 'lib/beatport/catalog.rb', line 69

def self.home
  Home.get
end

.label(id) ⇒ Object



73
74
75
# File 'lib/beatport/catalog.rb', line 73

def self.label(id)
  Label.find(id)
end

.labels(*args) ⇒ Object



77
78
79
# File 'lib/beatport/catalog.rb', line 77

def self.labels(*args)
  Label.all(*args)
end

.release(id) ⇒ Object



81
82
83
# File 'lib/beatport/catalog.rb', line 81

def self.release(id)
  Release.find(id)
end

.releases(*args) ⇒ Object



85
86
87
# File 'lib/beatport/catalog.rb', line 85

def self.releases(*args)
  Release.all(*args)
end

.track(id) ⇒ Object



89
90
91
# File 'lib/beatport/catalog.rb', line 89

def self.track(id)
  Track.find(id)
end

.tracks(*args) ⇒ Object



93
94
95
# File 'lib/beatport/catalog.rb', line 93

def self.tracks(*args)
  Track.all(*args)
end