Class: FanartTv::Album

Inherits:
Object
  • Object
show all
Includes:
BaseModel
Defined in:
lib/fanart_tv/models/album.rb

Instance Method Summary collapse

Methods included from BaseModel

included

Instance Method Details

#albumcover=(value) ⇒ Object



9
10
11
# File 'lib/fanart_tv/models/album.rb', line 9

def albumcover=(value)
  @albumcover = (value || []).map {|ml| FanartTv::Photo.new(ml) }
end

#cdart=(value) ⇒ Object



13
14
15
# File 'lib/fanart_tv/models/album.rb', line 13

def cdart=(value)
  @cdart = (value || []).map {|ml| FanartTv::Photo.new(ml) }
end