module Pohoda::Builders::Pro::Groups::VoucherPaymentGroup
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/pro/groups/voucher_payment_group.rb, line 6 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('pro:valueFoodVoucher', data[:value_food_voucher], data[:value_food_voucher_attributes]) if data.key? :value_food_voucher root end