Sha256: 08e3a8783403486d4228b2ecc9c556cd4bb19e0bd6cd00ceb197045fc25405a8

Contents?: true

Size: 288 Bytes

Versions: 2

Compression:

Stored size: 288 Bytes

Contents

module Shoppr
  class AttributeValue
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :id, :from => '@id'
    xml_reader :name
    xml_reader :attribute_value_url, :from => 'attributeValueURL'
    xml_reader :matching_items_count, :as => Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoppr-0.1.1 lib/shoppr/attribute_value.rb
shoppr-0.1.0 lib/shoppr/attribute_value.rb