Sha256: 612203be39f14243186b1b59b4a12775fc6375e90f599d6b25306e334be99b00
Contents?: true
Size: 735 Bytes
Versions: 1
Compression:
Stored size: 735 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/mena_type' require 'money_s3/builders/souhrn_dph_type' module MoneyS3 module Builders class Valuty include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :celkem element = Ox::Element.new('Celkem') element << attributes[:celkem] if attributes[:celkem] root << element end if attributes.key? :mena root << MenaType.new(attributes[:mena], 'Mena').builder end if attributes.key? :souhrn_dph root << SouhrnDPHType.new(attributes[:souhrn_dph], 'SouhrnDPH').builder 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/valuty.rb |