Class: SubtitulosDownloader::Provider

Inherits:
Object
  • Object
show all
Defined in:
lib/subtitulos_downloader/provider/provider.rb

Direct Known Subclasses

SubtitulosEs

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Provider

Returns a new instance of Provider.



5
6
7
8
9
# File 'lib/subtitulos_downloader/provider/provider.rb', line 5

def initialize(options={})
  @options = options
  @user_agent = "SubtitulosDownloader/#{VERSION}"
  init
end

Instance Method Details

#fetch(show, language) ⇒ Object



17
18
19
# File 'lib/subtitulos_downloader/provider/provider.rb', line 17

def fetch(show, language)

end

#init(options) ⇒ Object



11
12
13
14
15
# File 'lib/subtitulos_downloader/provider/provider.rb', line 11

def init(options)
  # to be override
  @base_uri = ""
  @provider_name =''
end