class KonoEppLogout

Public Class Methods

new( id = nil, password = nil ) click to toggle source
Calls superclass method KonoEppCommand::new
# File lib/epp/epp_command/logout.rb, line 2
def initialize( id = nil, password = nil )
  super( nil, nil )

  command = root.elements['command']
  command.add_element( "logout" )

  command.add_element( "clTRID" ).text = "ABC-12345"
end