internetee-registry/app/views/epp/sessions/logout.xml.builder
Martin Lensment d66527ac80 Refactor
2014-06-27 16:16:32 +03:00

13 lines
410 B
Ruby

xml.instruct!
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0', 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xsi:schemaLocation' => 'urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd') do
xml.response do
xml.result('code' => '1500') do
xml.msg 'Command completed successfully; ending session'
end
end
xml.trID do
xml.clTRID params[:clTRID]
xml.svTRID @svTRID
end
end