Class: CnpOnline::OnlineRequest
- Inherits:
-
Object
- Object
- CnpOnline::OnlineRequest
- Includes:
- XML::Mapping
- Defined in:
- lib/XMLFields.rb
Instance Method Summary collapse
Instance Method Details
#post_save(xml, options = {:Mapping=>:_default}) ⇒ Object
2505 2506 2507 2508 2509 2510 2511 |
# File 'lib/XMLFields.rb', line 2505 def post_save(xml, ={:Mapping=>:_default}) xml.each_element() {|el| if(el.name == 'captureTxn') el.name = 'capture' end } end |