Class: ThetvdbMapper::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/thetvdb_mapper/base.rb

Direct Known Subclasses

Actors, Banners, Episode, FullSeries, Series

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/thetvdb_mapper/base.rb', line 4

def initialize(id)
  @id = id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



2
3
4
# File 'lib/thetvdb_mapper/base.rb', line 2

def id
  @id
end

Instance Method Details

#fetcherObject



8
9
10
# File 'lib/thetvdb_mapper/base.rb', line 8

def fetcher
  @fetcher ||= ThetvdbMapper::Fetcher.new
end