Sha256: d919a99f6466f5b84f09a30207eea74dc62c375dbc85b6631d9697d4c7509404
Contents?: true
Size: 362 Bytes
Versions: 4
Compression:
Stored size: 362 Bytes
Contents
require "spot/base" module SpotContainer class Album < SpotContainer::Base def valid? available?(@territory) or !@territory end def artist @_artist ||= SpotContainer::Artist.new(@artists.first) end protected def territories @availability["territories"] end alias_method :to_s, :name end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
spot-0.1.4 | lib/spot/album.rb |
spot-0.1.3 | lib/spot/album.rb |
spot-0.1.2 | lib/spot/album.rb |
spot-0.1.1 | lib/spot/album.rb |