Sha256: a59267c43e07059f54c820a67007dbafd98cbc2f9aaa17d5cf092c755d7a15ff
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 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_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:fakt_vyd] = fakt_vyd.to_h_with_attrs if has? 'FaktVyd' hash[:fakt_prij] = fakt_prij.to_h_with_attrs if has? 'FaktPrij' hash end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/parsers/data.rb |
money_s3-0.11.0 | lib/money_s3/parsers/data.rb |