Class: KonoEppLogout
- Inherits:
-
KonoEppCommand
- Object
- REXML::Document
- KonoEppCommand
- KonoEppLogout
- Defined in:
- lib/epp/epp_command/logout.rb
Instance Method Summary collapse
-
#initialize(id = nil, password = nil) ⇒ KonoEppLogout
constructor
A new instance of KonoEppLogout.
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 |