Class: ThetvdbMapper::Base
- Inherits:
-
Object
- Object
- ThetvdbMapper::Base
- Defined in:
- lib/thetvdb_mapper/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
- #fetcher ⇒ Object
-
#initialize(id) ⇒ Base
constructor
A new instance of Base.
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
#id ⇒ Object (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
#fetcher ⇒ Object
8 9 10 |
# File 'lib/thetvdb_mapper/base.rb', line 8 def fetcher @fetcher ||= ThetvdbMapper::Fetcher.new end |