class Tunefind::Artist
Public Class Methods
find(id)
click to toggle source
# File lib/tunefind/artist.rb, line 7 def self.find(id) build_object(get("artist/#{id}")) end
search(offset: nil, updated: nil)
click to toggle source
# File lib/tunefind/artist.rb, line 3 def self.search(offset: nil, updated: nil) build_collection(get("artist?offset=#{offset}&updated=#{updated}")['artists']) end