diaspora/lib/diaspora/federation.rb
2016-06-26 06:20:59 +02:00

19 lines
480 B
Ruby

module Diaspora
module Federation
# @deprecated
def self.xml(entity)
DiasporaFederation::Salmon::XmlPayload.pack(entity)
end
# Raised, if author is ignored by the relayable parent author
class AuthorIgnored < RuntimeError
end
# Raised, if the author of the existing object doesn't match the received author
class InvalidAuthor < RuntimeError
end
end
end
require "diaspora/federation/entities"
require "diaspora/federation/receive"