Sha256: 764dff9ff7572116a6a5acbec94247697ea426afaec7043b73148f7d709589fe
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
module MoneyS3 module Parsers class Data include ParserCore::BaseParser def fakt_vyd submodel_at(FakturaType, 'FaktVyd') end def fakt_prij submodel_at(FakturaType, 'FaktPrij') end def to_h hash = {} 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-1.0.0 | lib/money_s3/parsers/data.rb |