Sha256: 69e5fb4238679f0490b2f84114a626d8ee8486db76c7a619d907b93d336c9be1
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/bank_dokl' module MoneyS3 module Parsers class SeznamBankDokl include BaseParser def bank_dokl array_of_at(BankDokl, ['BankDokl']) end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:bank_dokl] = bank_dokl.map(&:to_h_with_attrs) if has? 'BankDokl' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems