removed inclusion block
This commit is contained in:
parent
4bb4602762
commit
b4d4986758
1 changed files with 5 additions and 9 deletions
|
|
@ -4,16 +4,12 @@
|
||||||
|
|
||||||
module Diaspora
|
module Diaspora
|
||||||
module Webhooks
|
module Webhooks
|
||||||
def self.included(klass)
|
|
||||||
klass.class_eval do
|
|
||||||
|
|
||||||
def to_diaspora_xml
|
def to_diaspora_xml
|
||||||
xml = "<XML>"
|
xml = "<XML>"
|
||||||
xml += "<post>#{self.to_xml.to_s}</post>"
|
xml += "<post>#{to_xml.to_s}</post>"
|
||||||
xml += "</XML>"
|
xml += "</XML>"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue