Class: KonoEppClient::Commands::Logout
- Defined in:
- lib/kono_epp_client/commands/logout.rb
Instance Method Summary collapse
-
#initialize(id = nil, password = nil) ⇒ Logout
constructor
A new instance of Logout.
Constructor Details
#initialize(id = nil, password = nil) ⇒ Logout
Returns a new instance of Logout.
3 4 5 6 7 8 9 10 |
# File 'lib/kono_epp_client/commands/logout.rb', line 3 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 |