Class: ImportEverything::XmlParser

Inherits:
Parser show all
Defined in:
lib/import_everything/parsers/xml_parser.rb

Defined Under Namespace

Classes: LineParser, TableParser

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Parser

#each_row, #each_table_and_rows, #line_parsers, #table_rows_hash

Instance Attribute Details

#root_pathObject

Returns the value of attribute root_path.



3
4
5
# File 'lib/import_everything/parsers/xml_parser.rb', line 3

def root_path
  @root_path
end

#table_pathsObject

Returns the value of attribute table_paths.



3
4
5
# File 'lib/import_everything/parsers/xml_parser.rb', line 3

def table_paths
  @table_paths
end

#xyzObject

Returns the value of attribute xyz.



3
4
5
# File 'lib/import_everything/parsers/xml_parser.rb', line 3

def xyz
  @xyz
end

Instance Method Details

#required_fieldsObject



14
15
16
# File 'lib/import_everything/parsers/xml_parser.rb', line 14

def required_fields
  [:root_path,:table_paths]
end