Class: WhereTo::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/where_to/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_formatObject

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_keyObject

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