Class: ThetvdbMapper::Series
- Inherits:
-
Base
- Object
- Base
- ThetvdbMapper::Series
show all
- Defined in:
- lib/thetvdb_mapper/series.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/series.rb', line 2
def data
@data ||= mapping_object(fetcher.series(id).body).map
end
|
#inspect ⇒ Object
10
11
12
|
# File 'lib/thetvdb_mapper/series.rb', line 10
def inspect
"<ThetvdbMapper::Series data=#{data.to_s} >"
end
|
#mapping_object(data) ⇒ Object