Class: UClassifyCreateID
- Inherits:
-
Object
- Object
- UClassifyCreateID
- Defined in:
- lib/uclassify_create_id.rb
Instance Method Summary collapse
-
#initialize(createid) ⇒ UClassifyCreateID
constructor
A new instance of UClassifyCreateID.
- #to_xml_node(xml_document) ⇒ Object
Constructor Details
#initialize(createid) ⇒ UClassifyCreateID
Returns a new instance of UClassifyCreateID.
4 5 6 |
# File 'lib/uclassify_create_id.rb', line 4 def initialize (createid) @create_id = createid end |
Instance Method Details
#to_xml_node(xml_document) ⇒ Object
8 9 10 11 12 |
# File 'lib/uclassify_create_id.rb', line 8 def to_xml_node xml_document create_id_node = Nokogiri::XML::Node.new('create',xml_document) create_id_node['id'] = @create_id.to_s create_id_node end |