Sha256: 6e0d5e481e5321af0795a9de25a72eb6d572652f856c91221427061ea5d86278
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/faktura_type' module MoneyS3 module Parsers class Data include BaseParser def fakt_vyd submodel_at(FakturaType, 'FaktVyd') end def fakt_prij submodel_at(FakturaType, 'FaktPrij') end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:fakt_vyd] = fakt_vyd.to_h if has? 'FaktVyd' hash[:fakt_prij] = fakt_prij.to_h if has? 'FaktPrij' hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.6.0 | lib/money_s3/parsers/data.rb |