Class: ThetvdbMapper::Episode
- Inherits:
-
Base
- Object
- Base
- ThetvdbMapper::Episode
show all
- Defined in:
- lib/thetvdb_mapper/episode.rb
Instance Attribute Summary
Attributes inherited from Base
#id
Instance Method Summary
collapse
Methods inherited from Base
#fetcher, #initialize
Instance Method Details
#data ⇒ Object
2
3
4
|
# File 'lib/thetvdb_mapper/episode.rb', line 2
def data
@data ||= ThetvdbMapper::Mapping::Episode.map(fetcher.episode(id).body)
end
|
#inspect ⇒ Object
6
7
8
|
# File 'lib/thetvdb_mapper/episode.rb', line 6
def inspect
"<ThetvdbMapper::Episode data=#{data.to_s} >"
end
|