Sha256: a77715775205a12dac7e44b10e304e03388bfdab8fa272bfdbbe5f5f01b730f7

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

module Shoppr
  class OfferSelection
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :id, :from => '@id'
    xml_reader :name
    xml_reader :offer_url, :from => 'offerURL'
    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/offer_selection.rb
shoppr-0.1.0 lib/shoppr/offer_selection.rb