Class: NominetEPP::Domain::Renew
- Defined in:
- lib/nominet-epp/requests/domain/renew.rb
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
-
#initialize(name, exp_date, period = nil) ⇒ Renew
constructor
A new instance of Renew.
Methods inherited from Request
#command_name, #namespaces, #xml_namespace, #xml_node
Constructor Details
#initialize(name, exp_date, period = nil) ⇒ Renew
Returns a new instance of Renew.
4 5 6 7 |
# File 'lib/nominet-epp/requests/domain/renew.rb', line 4 def initialize(name, exp_date, period = nil) validate_period(period) @command = EPP::Domain::Renew.new(name, exp_date, period) end |