Sha256: ad00631cc0a5fd2e83c452a91c182cd24ac3a8e18f3568112ff1a752046389ab
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
module MoneyS3 module Parsers class VyrobniCislo include ParserCore::BaseParser def vyrobni_cis at 'VyrobniCis' end def dat_vyr at 'DatVyr' end def car_kod at 'CarKod' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:vyrobni_cis] = vyrobni_cis if has? 'VyrobniCis' hash[:dat_vyr] = dat_vyr if has? 'DatVyr' hash[:car_kod] = car_kod if has? 'CarKod' 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/vyrobni_cislo.rb |
money_s3-0.11.0 | lib/money_s3/parsers/vyrobni_cislo.rb |