Class: FeedMe::FeedStruct

Inherits:
AbstractParser show all
Defined in:
lib/feed_me/feed_struct.rb

Instance Attribute Summary

Attributes inherited from AbstractParser

#format, #properties, #xml

Instance Method Summary collapse

Methods inherited from AbstractParser

build, #to_hash

Constructor Details

#initialize(xml, properties) ⇒ FeedStruct

Returns a new instance of FeedStruct.



5
6
7
8
9
# File 'lib/feed_me/feed_struct.rb', line 5

def initialize(xml, properties)
  self.xml = xml
  self.properties = properties
  append_methods
end