class VantivLite::XML::Ox::Parser

Private Instance Methods

root(xml) click to toggle source
# File lib/vantiv_lite/xml/ox.rb, line 14
def root(xml)
  ::Ox.load(xml, symbolize_keys: false)
end
value_with!(node) click to toggle source
# File lib/vantiv_lite/xml/ox.rb, line 18
def value_with!(node)
  node.text ? node.text : node.attributes.merge(hash_with(*node.nodes))
end