Class: RmsWebService::Response::Item::ItemsUpdate

Inherits:
Parser
  • Object
show all
Defined in:
lib/rms_web_service/response/item/items_update.rb

Instance Attribute Summary

Attributes inherited from Parser

#status

Instance Method Summary collapse

Methods inherited from Parser

#set_attribute, #set_attributes

Constructor Details

#initialize(xml) ⇒ ItemsUpdate

Returns a new instance of ItemsUpdate.



5
6
7
8
# File 'lib/rms_web_service/response/item/items_update.rb', line 5

def initialize(xml)
  super
  @parsed_xml.xpath("//itemsUpdateResult").children.each {|item| self << Update.new(item.to_xml)}
end