Class: NominetEPP::Custom::TagList

Inherits:
NominetEPP::CustomRequest show all
Defined in:
lib/nominet-epp/requests/custom/tag_list.rb

Constant Summary collapse

NAMESPACE =
'http://www.nominet.org.uk/epp/xml/nom-tag-1.0'

Instance Attribute Summary

Attributes inherited from Request

#command, #extension

Instance Method Summary collapse

Methods inherited from NominetEPP::CustomRequest

#command, #namespaces, #schemaLocation, #schema_name, #set_namespaces, #x_namespace, #x_node, #x_schemaLocation

Methods inherited from Request

#namespaces, #xml_namespace, #xml_node

Instance Method Details

#command_nameObject



6
7
8
# File 'lib/nominet-epp/requests/custom/tag_list.rb', line 6

def command_name
  'info'
end

#namespace_nameObject



9
10
11
# File 'lib/nominet-epp/requests/custom/tag_list.rb', line 9

def namespace_name
  'tag'
end

#namespace_uriObject



12
13
14
# File 'lib/nominet-epp/requests/custom/tag_list.rb', line 12

def namespace_uri
  NAMESPACE
end

#to_xmlObject



16
17
18
19
20
21
22
# File 'lib/nominet-epp/requests/custom/tag_list.rb', line 16

def to_xml
  @namespaces ||= {}
  node = x_node('list')
  x_schemaLocation(node)

  node
end