Class: ThetvdbMapper::Mapping::Banner

Inherits:
Base
  • Object
show all
Defined in:
lib/thetvdb_mapper/mapping/banner.rb

Class Method Summary collapse

Methods inherited from Base

convert_to_list, map

Class Method Details

.rulesObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/thetvdb_mapper/mapping/banner.rb', line 2

def self.rules
  {
    'BannerPath' => :path,
    'ThumbnailPath' => :thumbnail_path,
    'VignettePath' => :vignette_path,
    'BannerType' => :type,
    'BannerType2' => :type2,
    'Language' => :language,
    'Season' => :season,
    'Rating' => :rating,
    'RatingCount' => :rating_count,
    'SeriesName' => :series_name,
    'Colors' => :colors,
  }
end