Sha256: 30c460354e5a501eb1b72e669b4d3fbf6bb6bbbbc7f829968e0642e4dad6a30e

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

module Shoppr
  class Attribute
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :id, :from => '@id'
    xml_reader :name
    xml_reader :attribute_url, :from => 'attributeURL'
    xml_reader :attribute_values, :as => [AttributeValue], :from => 'attributeValues'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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