Class: Rockstar::Library

Inherits:
Base
  • Object
show all
Defined in:
lib/rockstar/library.rb

Instance Method Summary collapse

Methods inherited from Base

connection, fetch_and_parse, get_instance

Instance Method Details

#albums(force = false, options = {}) ⇒ Object



8
9
10
# File 'lib/rockstar/library.rb', line 8

def albums(force=false, options = {})
  get_instance("library.getAlbums", :albums, :album, options, force)
end

#artists(force = false, options = {}) ⇒ Object



4
5
6
# File 'lib/rockstar/library.rb', line 4

def artists(force=false, options = {})
  get_instance("library.getArtists", :artists, :artist, options, force)
end