module EPPClient::RGP

RFC3915

Domain Registry Grace Period Mapping for the Extensible Provisioning Protocol (EPP)

Has to be included after the initialize, domain_info and domain_update definitions.

Public Instance Methods

domain_restore(args) click to toggle source

Restores a domain.

takes a hash as arguments, with the following keys :

:name

the fully qualified name of the domain object to be updated.

:report

the optional report with the following fields :

:preData

a copy of the registration data that existed for the domain name prior to the domain name being deleted.

:postData

a copy of the registration data that exists for the domain name at the time the restore report is submitted.

:delTime

the date and time when the domain name delete request was sent to the server.

:resTime

the date and time when the original <rgp:restore> command was sent to the server.

:resReason

a brief explanation of the reason for restoring the domain name.

:statements

an array of two statements :

  1. a text statement that the client has not restored the domain name in order to assume the rights to use or sell the domain name for itself or for any third party. Supporting information related to this statement MAY be supplied in the :other element described below.

  2. a text statement that the information in the restore report is factual to the best of the client's knowledge.

:other

an optional element that contains any information needed to support the statements provided by the client.

Returns an array of rgpStatus.

# File lib/epp-client/rgp.rb, line 84
def domain_restore(args)
  response = send_request(domain_restore_xml(args))

  get_result(:xml => response, :callback => :domain_restore_process)
end