Sha256: a7e200469bebd9454e33098bedc4b898803dcef9f4f3608407d95cc5607c329b
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
# frozen_string_literal: true module AppleMusic # https://developer.apple.com/documentation/applemusicapi/preview class Preview < Resource attr_reader :artwork, :url def initialize(props = {}) @artwork = Artwork.new(props['artwork']) if props['artwork'] @url = props['url'] # required end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
apple_music-0.3.1 | lib/apple_music/preview.rb |
apple_music-0.3.0 | lib/apple_music/preview.rb |
apple_music-0.2.0 | lib/apple_music/preview.rb |