This commit is contained in:
albert
2013-03-10 16:56:04 -04:00
parent 6b02826405
commit 43177cbad8
4 changed files with 14 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
module Sources
class Site
attr_reader :url, :strategy
delegate :get, :site_name, :artist_name, :profile_url, :image_url, :tags, :artist_record, :unique_id, :to => :strategy
delegate :get, :referer_url, :site_name, :artist_name, :profile_url, :image_url, :tags, :artist_record, :unique_id, :to => :strategy
def self.strategies
[Strategies::NicoSeiga, Strategies::Pixiv]