Sha256: 86fd012ed77140c8b661e71ceb273c647e70deafb1077709cae271f6e0ed49da
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/mena_type' module MoneyS3 module Builders class ValutyUhr include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :castka element = Ox::Element.new('Castka') element << attributes[:castka] if attributes[:castka] root << element end if attributes.key? :mena root << MenaType.new(attributes[:mena], 'Mena').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_uhr.rb |