class Vacuum::Parser::ItemSearchResponse::Items::Entry::ItemAttributes
Attributes
Brand[RW]
ItemAttributes[RW]
Manufacturer[RW]
Model[RW]
PartNumber[RW]
ProductGroup[RW]
Size[RW]
Title[RW]
Public Class Methods
new(item_attributes)
click to toggle source
# File lib/vacuum/parser/itemsearch_response.rb, line 102 def initialize(item_attributes) @ItemAttributes = item_attributes @Brand = (n = @ItemAttributes.at('./xmlns:Brand')) && n.content @Manufacturer = (n = @ItemAttributes.at('./xmlns:Manufacturer')) && n.content @Model = (n = @ItemAttributes.at('./xmlns:Model')) && n.content @PartNumber = (n = @ItemAttributes.at('./xmlns:PartNumber')) && n.content @ProductGroup = (n = @ItemAttributes.at('./xmlns:ProductGroup')) && n.content @Size = (n = @ItemAttributes.at('./xmlns:Size')) && n.content @Title = (n = @ItemAttributes.at('./xmlns:Title')) && n.content end