def domain_info(args)
      args = { :name => args } if args.is_a?(String)
      response = send_request(domain_info_xml(args))

      get_result(:xml => response, :callback => :domain_info_process)
    end
def domain_info(args)
      args = { :name => args } if args.is_a?(String)
      response = send_request(domain_info_xml(args))

      get_result(:xml => response, :callback => :domain_info_process)
    end
Returns the informations about a domain

 Takes either a unique argument, a string, representing the domain, or a
 hash with : <tt>:name</tt> the domain name, and optionnaly
 <tt>:authInfo</tt> the authentication information and possibly
 <tt>:roid</tt> the contact the authInfo is about.

 Returned is a hash mapping as closely as possible the result expected
 from the command as per Section
 {3.1.2}[https://tools.ietf.org/html/rfc5731#section-3.1.2] of {RFC
 5731}[https://tools.ietf.org/html/rfc5731] :
 [<tt>:name</tt>] The fully qualified name of the domain object.
 [<tt>:roid</tt>]
    The Repository Object IDentifier assigned to the domain object when
    the object was created.
 [<tt>:status</tt>]
    an optionnal array of elements that contain the current status
    descriptors associated with the domain.
 [<tt>:registrant</tt>] one optionnal registrant nic handle.
 [<tt>:contacts</tt>]
   an optionnal hash which keys are choosen between +admin+, +billing+ and
   +tech+ and which values are arrays of nic handles for the corresponding
   contact types.
 [<tt>:ns</tt>]
   an optional array containing nameservers informations, which can either
   be an array of strings containing the the fully qualified name of a
   host, or an array of hashes containing the following keys :
   [<tt>:hostName</tt>] the fully qualified name of a host.
   [<tt>:hostAddrv4</tt>]
      an optionnal array of ipv4 addresses to be associated with the host.
   [<tt>:hostAddrv6</tt>]
      an optionnal array of ipv6 addresses to be associated with the host.
 [<tt>:host</tt>]
    an optionnal array of fully qualified names of the subordinate host
    objects that exist under this superordinate domain object.
 [<tt>:clID</tt>] the identifier of the sponsoring client.
 [<tt>:crID</tt>]
   an optional identifier of the client that created the domain object.
 [<tt>:crDate</tt>] an optional date and time of domain object creation.
 [<tt>:exDate</tt>]
   the date and time identifying the end of the domain object's
   registration period.
 [<tt>:upID</tt>]
   the identifier of the client that last updated the domain object.
 [<tt>:upDate</tt>]
   the date and time of the most recent domain-object modification.
 [<tt>:trDate</tt>]
   the date and time of the most recent successful domain-object transfer.
 [<tt>:authInfo</tt>]
   authorization information associated with the domain object.