Sha256: 25cb77843c403a0daa307f64207820876618977e1f91cac4257dd50bce3887ea
Contents?: true
Size: 764 Bytes
Versions: 1
Compression:
Stored size: 764 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/dokl_ref_type' module MoneyS3 module Parsers class KurzRozd include BaseParser def typ at :Typ end def preceneni at :Preceneni end def castka at :Castka end def kr_poradi at :KRPoradi end def doklad submodel_at(DoklRefType, :Doklad) end def to_h hash = {} hash[:typ] = typ if raw.key? :Typ hash[:preceneni] = preceneni if raw.key? :Preceneni hash[:castka] = castka if raw.key? :Castka hash[:kr_poradi] = kr_poradi if raw.key? :KRPoradi hash[:doklad] = doklad.to_h if raw.key? :Doklad hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/parsers/kurz_rozd.rb |