Sha256: c0735edcf23befde5a6dfcef5ba7fd65184370d3da1df1fd7f8a4b1af42e85f6
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/kusovnik_type' require 'money_s3/builders/vzor_komponenta_type' module MoneyS3 module Builders class Reference include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :typ_kusovnik root << KusovnikType.new(attributes[:typ_kusovnik], 'TypKusovnik').builder end if attributes.key? :vzor root << VzorKomponentaType.new(attributes[:vzor], 'Vzor').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/reference.rb |