Sha256: 87d34d73b605f4b93f4c02ec1c4c0cd7f4aafadfa26317ab7e509e22868a87a9

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

module Shoppr
  class CategorySelection
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :id, :from => '@id', :as => Integer
    xml_reader :name
    xml_reader :category_url, :from => 'categoryURL'
    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/category_selection.rb
shoppr-0.1.0 lib/shoppr/category_selection.rb