Cache top tracks

This commit is contained in:
2023-06-12 16:48:37 +10:00
parent a50018f712
commit e075e6e3ef
7 changed files with 62 additions and 7 deletions

View File

@@ -5,15 +5,15 @@ module Adamantium
config.layout = false
expose :name do |track:|
track["name"]
track.name
end
expose :artist do |track:|
track.dig("artist", "content")
track.artist
end
expose :url do |track:|
track["url"]
track.url
end
end
end