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


16
17
18
19
# File 'lib/diaspora_federation/parsers/relayable_xml_parser.rb', line 16

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