Class: LitleOnline::OnlineRequest

Inherits:
Object
  • Object
show all
Includes:
XML::Mapping
Defined in:
lib/XMLFields.rb

Instance Method Summary collapse

Instance Method Details

#post_save(xml, options = {:Mapping=>:_default}) ⇒ Object



1764
1765
1766
1767
1768
1769
1770
# File 'lib/XMLFields.rb', line 1764

def post_save(xml, options={:Mapping=>:_default})
  xml.each_element() {|el|
    if(el.name == 'captureTxn')
      el.name = 'capture'
    end
  }
end