Sha256: 5d05cda3fc0e1bae4307daac560c4289789f7c1a2ab890e85d6cf392905c1389

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

module Shoppr
  class ProductSelection
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :id, :from => '@id'
    xml_reader :name
    xml_reader :product_url, :from => 'productURL'
    xml_reader :dropped?, :from => '@dropped'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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