diaspora_federation/lib/diaspora_federation/entities/comment.rb
cmrd Senya fd1f896d17 Introduce the "Relayable" entity, which encapsulates common
properties of entities that are inherited from Relayable class
in the Diaspora source code - "parent_guid",
"parent_author_signature", "author_signature".
2015-11-13 16:43:36 +03:00

10 lines
211 B
Ruby

module DiasporaFederation
module Entities
class Comment < Entity
property :guid
include Relayable
property :text
property :diaspora_id, xml_name: :diaspora_handle
end
end
end