Sha256: b42b71d0dcb4827750d2a19195f0d469ced8227f1780e6d83116ffd3e6e77a40
Contents?: true
Size: 583 Bytes
Versions: 1
Compression:
Stored size: 583 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/doklad' module MoneyS3 module Parsers class VazbaType include BaseParser def typ at 'Typ' end def pod_typ at 'PodTyp' end def doklad submodel_at(Doklad, 'Doklad') end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:typ] = typ if has? 'Typ' hash[:pod_typ] = pod_typ if has? 'PodTyp' hash[:doklad] = doklad.to_h if has? 'Doklad' 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/vazba_type.rb |