Class: RmsWebService::Response::Item::ItemsUpdate
- Defined in:
- lib/rms_web_service/response/item/items_update.rb
Instance Attribute Summary
Attributes inherited from Parser
Instance Method Summary collapse
-
#initialize(xml) ⇒ ItemsUpdate
constructor
A new instance of ItemsUpdate.
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 |