Class: ThetvdbApi::Mappers::Banner
- Inherits:
-
Object
- Object
- ThetvdbApi::Mappers::Banner
- Includes:
- HappyMapper
- Defined in:
- lib/thetvdb_api/mappers/banner.rb
Instance Method Summary collapse
Instance Method Details
#thumbnail_url ⇒ Object
25 26 27 |
# File 'lib/thetvdb_api/mappers/banner.rb', line 25 def thumbnail_url thumbnail_path ? "http://thetvdb.com/banners/#{thumbnail_path}" : nil end |
#url ⇒ Object
21 22 23 |
# File 'lib/thetvdb_api/mappers/banner.rb', line 21 def url path ? "http://thetvdb.com/banners/#{path}" : nil end |
#vignette_url ⇒ Object
29 30 31 |
# File 'lib/thetvdb_api/mappers/banner.rb', line 29 def vignette_url vignette_path ? "http://thetvdb.com/banners/#{vignette_path}" : nil end |