OSDN Git Service

none
authormasahino <masahino@0978bef0-6439-0410-a06b-a62e4d60c955>
Thu, 4 Mar 2010 14:59:11 +0000 (14:59 +0000)
committermasahino <masahino@0978bef0-6439-0410-a06b-a62e4d60c955>
Thu, 4 Mar 2010 14:59:11 +0000 (14:59 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lbw/ldblogwriter/trunk@91 0978bef0-6439-0410-a06b-a62e4d60c955

lib/ldblogwriter/service.rb

index 27b0cff..df26314 100644 (file)
@@ -1,30 +1,9 @@
 # -*- coding: utf-8 -*-
 
-module LDBlogWriter
-  class AbstractService
-    def initialize(config)
-      @config = config
-    end
-
-    def post_entry(content, title, category)
-      raise 'Called abstract method: '+caller.first.scan(/`(.*)'/).to_s
-    end
-
-    def edit_entry(entry)
-      raise 'Called abstract method: '+caller.first.scan(/`(.*)'/).to_s
-    end
+require 'ldblogwriter/service/livedoor.rb'
 
-    def delete_entry(entry)
-      raise 'Called abstract method: '+caller.first.scan(/`(.*)'/).to_s
-    end
-
-    def post_image(image_file_path)
-      raise 'Called abstract method: '+caller.first.scan(/`(.*)'/).to_s
-    end
-
-    def to_xml(entry)
-      raise 'Called abstract method: '+caller.first.scan(/`(.*)'/).to_s
-    end
+module LDBlogWriter
+  module Service
 
   end
 end