Sha256: 60c2477207738559a136f2f3c272845e729645008f54ec2c6693520cc03e76dc
Contents?: true
Size: 761 Bytes
Versions: 1
Compression:
Stored size: 761 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class CenaType include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :limit element = Ox::Element.new('Limit') element << attributes[:limit] if attributes[:limit] root << element end if attributes.key? :cena element = Ox::Element.new('Cena') element << attributes[:cena] if attributes[:cena] root << element end if attributes.key? :sleva element = Ox::Element.new('Sleva') element << attributes[:sleva] if attributes[:sleva] root << element end root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/builders/cena_type.rb |