Sha256: 3d30239ab324e93263bd0139810a6f7747654c37d57371910d56dd53b85981a4

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

module Shoppr
  class Image
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :available?, :from => '@available'
    xml_reader :height, :as => Integer, :from => '@height'
    xml_reader :width, :as => Integer, :from => '@width'
    xml_reader :source_url, :from => 'sourceURL'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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