def saved_albums(limit: 20, offset: 0)
      url = "me/albums?limit=#{limit}&offset=#{offset}"
      response = User.oauth_get(@id, url)
      json = RSpotify.raw_response ? JSON.parse(response) : response

      albums = json['items'].select { |i| i['album'] }

      return response if RSpotify.raw_response
      albums.map { |a| Album.new a['album'] }
    end
def saved_albums(limit: 20, offset: 0)
      url = "me/albums?limit=#{limit}&offset=#{offset}"
      response = User.oauth_get(@id, url)
      json = RSpotify.raw_response ? JSON.parse(response) : response

      albums = json['items'].select { |i| i['album'] }

      return response if RSpotify.raw_response
      albums.map { |a| Album.new a['album'] }
    end
Returns the albums saved in the Spotify user’s “Your Music” library. ** Includes albums whose tracks you saved

 @param limit  [Integer] Maximum number of albums to return. Maximum: 50. Minimum: 1. Default: 20.
 @param offset [Integer] The index of the first album to return. Use with limit to get the next set of albums. Default: 0.
 @return [Array<Album>]

 @example
           albums = user.saved_albums
           albums.size       #=> 20
           albums.first.name #=> "Launeddas"