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