Class: EPP::Contact::Transfer
- Defined in:
- lib/epp-client/contact/transfer.rb
Constant Summary
Constants inherited from Command
Command::DISCLOSE_ORDER, Command::MAX_STREETS
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
-
#initialize(id) ⇒ Transfer
constructor
A new instance of Transfer.
- #name ⇒ Object
- #to_xml ⇒ Object
Methods inherited from Command
Methods included from XMLHelpers
#as_xml, #epp_namespace, #epp_node, #xml_document, #xml_namespace, #xml_node
Constructor Details
#initialize(id) ⇒ Transfer
Returns a new instance of Transfer.
6 7 8 |
# File 'lib/epp-client/contact/transfer.rb', line 6 def initialize(id) @id = id end |
Instance Method Details
#name ⇒ Object
10 11 12 |
# File 'lib/epp-client/contact/transfer.rb', line 10 def name 'transfer' end |
#to_xml ⇒ Object
14 15 16 17 18 |
# File 'lib/epp-client/contact/transfer.rb', line 14 def to_xml node = super node << contact_node('id', @id) node end |