Class: WhereTo::Configuration
- Inherits:
-
Object
- Object
- WhereTo::Configuration
- Defined in:
- lib/where_to/configuration.rb
Instance Attribute Summary collapse
-
#folder_format ⇒ Object
Returns the value of attribute folder_format.
-
#tvdb_api_key ⇒ Object
Returns the value of attribute tvdb_api_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/where_to/configuration.rb', line 5 def initialize @folder_format = "%series_title/Season %season_number (%season_airdate)/" @tvdb_api_key = "You need to get one before you can lookup episode information automatically" end |
Instance Attribute Details
#folder_format ⇒ Object
Returns the value of attribute folder_format.
3 4 5 |
# File 'lib/where_to/configuration.rb', line 3 def folder_format @folder_format end |
#tvdb_api_key ⇒ Object
Returns the value of attribute tvdb_api_key.
3 4 5 |
# File 'lib/where_to/configuration.rb', line 3 def tvdb_api_key @tvdb_api_key end |