Sha256: 4e5b9c2e36e6dc0ef2cb02875f87fccfb1bec0bcdc0f12aa1a7a17895db0c2f6
Contents?: true
Size: 616 Bytes
Versions: 11
Compression:
Stored size: 616 Bytes
Contents
module Seko class Product def self.supplier { "SupplierCode" => Seko.config[:supplier_code], "SupplierDescription" => Seko.config[:supplier_description], "UOM" => Seko.config[:supplier_uom] } end def self.format(attributes) { "Request" => { "List" => { "SupplierMapping" => supplier }, "ProductMaster" => { "ProductCode" => attributes[:upc], "ProductDescription" => Filter.parse(attributes[:description]) } } } end end end
Version data entries
11 entries across 11 versions & 1 rubygems