Sha256: 9e74ab687ebe554f260cc60b43c3cd2ddb2bbd89a4572175bb7c698ce1416721
Contents?: true
Size: 374 Bytes
Versions: 3
Compression:
Stored size: 374 Bytes
Contents
module Moysklad::Entities class SalePrice < Base include HappyMapper include Moysklad::Entities::XmlFix tag 'price' attribute :currencyUuid, String attribute :priceTypeUuid, String attribute :value, Float def priceType universe cache :priceType, universe do universe.price_types.find priceTypeUuid end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
moysklad-0.3.0 | lib/moysklad/entities/sale_price.rb |
moysklad-0.2.1 | lib/moysklad/entities/sale_price.rb |
moysklad-0.2.0 | lib/moysklad/entities/sale_price.rb |