Class: ThetvdbMapper::Mapping::Actor

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

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

#convert, #convert_to_list, #initialize, #list_mapping_object, #map

Constructor Details

This class inherits a constructor from ThetvdbMapper::Mapping::Base

Instance Method Details

#rulesObject



2
3
4
5
6
7
8
9
10
# File 'lib/thetvdb_mapper/mapping/actor.rb', line 2

def rules
  {
    'id' => :id,
    'Image' => :image_path,
    'Name' => :name,
    'Role' => :role,
    'SortOrder' => :sort_order
  }
end