Class: DiasporaFederation::Parsers::RelayableXmlParser

Inherits:
XmlParser show all
Defined in:
lib/diaspora_federation/parsers/relayable_xml_parser.rb

Overview

This is a parser of XML serialized object that is normally used for parsing data of relayables. Explanations about the XML data format can be found here. Specific features of relayables are described here.

Instance Method Summary collapse

Methods inherited from BaseParser

#initialize

Constructor Details

This class inherits a constructor from DiasporaFederation::Parsers::BaseParser

Instance Method Details

#parse(*args) ⇒ Array[2]

Returns comprehensive data for an entity instantiation.

Returns:

  • (Array[2])

    comprehensive data for an entity instantiation

See Also:



18
19
20
21
# File 'lib/diaspora_federation/parsers/relayable_xml_parser.rb', line 18

def parse(*args)
  hash = super[0]
  [hash, hash.keys]
end