Sha256: 9e2895db05dd7ca2db0a466308ef9ec8f4355a136d694cf4e1442e525b619a84
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
module ItunesApi module Music # Wrapper for song results. class Song attr_reader_init :duration, :name, :number, :streamable alias streamable? streamable def to_hash { duration: duration, name: name, number: number, stremable: streamable?, } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
itunes_api-2.0.0 | lib/itunes_api/music/song.rb |