Class: KonoEppHello

Inherits:
REXML::Document
  • Object
show all
Defined in:
lib/epp/epp_command/hello.rb

Instance Method Summary collapse

Constructor Details

#initializeKonoEppHello

Returns a new instance of KonoEppHello.



2
3
4
5
6
7
8
9
10
11
12
# File 'lib/epp/epp_command/hello.rb', line 2

def initialize
  super

  add( XMLDecl.new( "1.0", "UTF-8", "no" ) )

  epp = add_element( "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" } )

  epp.add_element( "hello" )
end