Class: Sofa::TVRage::Season
- Inherits:
-
Object
- Object
- Sofa::TVRage::Season
- Includes:
- Mapping
- Defined in:
- lib/sofa/tvrage/season.rb
Overview
This class holds the XML information of a single season as per the TVRage API.
Instance Method Summary collapse
-
#initialize(info) ⇒ Season
constructor
Returns a new instance of Season, mapping info from the TVRage API.
Methods included from Mapping
Constructor Details
#initialize(info) ⇒ Season
Returns a new instance of Season, mapping info from the TVRage API
31 32 33 |
# File 'lib/sofa/tvrage/season.rb', line 31
def initialize(info)
update_with_mapping(info)
end
|