Class: ThetvdbApi::Mappers::Series

Inherits:
Object
  • Object
show all
Includes:
HappyMapper, BaseMapper
Defined in:
lib/thetvdb_api/mappers/series.rb

Instance Method Summary collapse

Methods included from BaseMapper

included

Instance Method Details



29
30
31
# File 'lib/thetvdb_api/mappers/series.rb', line 29

def banner_url
  banner_path ? "http://thetvdb.com/banners/#{banner_path}" : nil
end

#fanart_urlObject



33
34
35
# File 'lib/thetvdb_api/mappers/series.rb', line 33

def fanart_url
  fanart_path ? "http://thetvdb.com/banners/#{fanart_path}" : nil
end

#poster_urlObject



37
38
39
# File 'lib/thetvdb_api/mappers/series.rb', line 37

def poster_url
  poster_path ? "http://thetvdb.com/banners/#{poster_path}" : nil
end