class Beatport::Catalog::AccountType

Public Class Methods

all() click to toggle source

Returns all the account types

# File lib/beatport/catalog/account_type.rb, line 12
def self.all
  Client.retrieve 'account-types', AccountType
end
find(key) click to toggle source

Returns the account type with the name given

# File lib/beatport/catalog/account_type.rb, line 7
def self.find(key)
  Client.retrieve 'account-types', AccountType, :key => key
end