Merge branch 'master' of github.com:diaspora/diaspora

This commit is contained in:
ilya 2010-09-27 10:03:41 -07:00
commit 9ff3263444

View file

@ -4,16 +4,12 @@
module Diaspora
module Webhooks
def self.included(klass)
klass.class_eval do
def to_diaspora_xml
xml = "<XML>"
xml += "<post>#{self.to_xml.to_s}</post>"
xml += "</XML>"
end
end
def to_diaspora_xml
xml = "<XML>"
xml += "<post>#{to_xml.to_s}</post>"
xml += "</XML>"
end
end
end