Sha256: 32a8010b04b23a3cee52bba99c8c235c664fee7a438d2e35697b074cc76d874a
Contents?: true
Size: 540 Bytes
Versions: 5
Compression:
Stored size: 540 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/mena_type' module MoneyS3 module Builders class ValutyHraz include BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end root << build_element('Castka', data[:castka]) if data.key? :castka if data.key? :mena root << MenaType.new('Mena', data[:mena]).builder end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems