renamed artsiteproxy to sources

This commit is contained in:
albert
2011-09-26 12:54:42 -04:00
parent 0e0f2af6ff
commit a1657366c1
13 changed files with 137 additions and 9 deletions

View File

@@ -0,0 +1,33 @@
module Sources
module Strategies
class Base
attr_reader :url, :agent
def initialize(url)
@url = url
@agent = create_agent
end
def artist_name
raise NotImplementedError
end
def tags
raise NotImplementedError
end
def profile_url
raise NotImplementedError
end
def image_url
raise NotImplementedError
end
protected
def create_agent
raise NotImplementedError
end
end
end
end