Class: KonoEppLogout

Inherits:
KonoEppCommand show all
Defined in:
lib/epp/epp_command/logout.rb

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, password = nil) ⇒ KonoEppLogout

Returns a new instance of KonoEppLogout.



2
3
4
5
6
7
8
9
# 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