class Lastfm class User < MethodCategory def get_info(user) request('getInfo', { :user => user }) end def get_loved_tracks(user) request('getLovedTracks', { :user => user }) end def get_recent_tracks(user) request('getRecentTracks', { :user => user }) end end end