Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
9ff3263444
1 changed files with 5 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue