Sha256: 64462b74bbe2779a06c1a4153ca5e904c7f2f07f8aaf266b12a4005bec844b32
Contents?: true
Size: 517 Bytes
Versions: 1
Compression:
Stored size: 517 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/faktura_type' module MoneyS3 module Builders class Data include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :fakt_vyd root << FakturaType.new(attributes[:fakt_vyd], 'FaktVyd').builder end if attributes.key? :fakt_prij root << FakturaType.new(attributes[:fakt_prij], 'FaktPrij').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/data.rb |