Sha256: de3e3fc5700fe1fe475c7ec6ba5419dbd1fae8857a253446500ef0ad9e8759e9

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

module Shoppr
  class ClientTracking
    include ROXML
    xml_convention {|val| val.camelize(:lower) }
    xml_reader :height, :as => Integer, :from => '@height'
    xml_reader :width, :as => Integer, :from => '@width'
    xml_reader :type, :from => '@type'
    xml_reader :source_url, :from => 'sourceURL'
    xml_reader :href_url, :from => 'hrefURL'
    xml_reader :title_text
    xml_reader :alt_text
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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