class Beatport::Catalog::Country

Public Class Methods

all() click to toggle source
# File lib/beatport/catalog/country.rb, line 7
def self.all
  Client.retrieve 'countries', Country
end
find(code) click to toggle source
# File lib/beatport/catalog/country.rb, line 11
def self.find(code)
  Client.retrieve 'countries', Country, :key => code, :string_key_type => :code_short
end