Sha256: 339751736b5528df53dc8d39474f1139e5570a31a56504b65d5ef01ed3b18533

Contents?: true

Size: 336 Bytes

Versions: 4

Compression:

Stored size: 336 Bytes

Contents

module Dineromail
  class Item
    include HappyMapper
    
    tag 'item'
    element :description, String, :tag => 'descripcion'
    element :currency, Integer, :tag => 'moneda'
    element :unit_price, Float, :tag => 'preciounitario'
    element :count, Integer, :tag => 'cantidad'
    
    DOLLAR = 2
    PESO = 1    
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dineromail-0.2.1 lib/dineromail/item.rb
dineromail-0.2.0 lib/dineromail/item.rb
dineromail-0.1.4 lib/dineromail/item.rb
dineromail-0.1.3 lib/dineromail/item.rb