added tinami support

This commit is contained in:
albert
2011-09-26 17:30:35 -04:00
parent 006ddf5625
commit dc31e74809
6 changed files with 106 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
module Sources
module Strategies
class Base
attr_reader :url, :agent
attr_reader :url
def self.url_match?(url)
false
@@ -9,7 +9,6 @@ module Sources
def initialize(url)
@url = url
@agent = create_agent
end
def get
@@ -49,7 +48,7 @@ module Sources
end
protected
def create_agent
def agent
raise NotImplementedError
end
end