Sha256: 0b8b71e60c048484e2679f532199ca4f2ba6c179cbded0a1aded239e07f9e8f6
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 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 hash = WithAttributes.new({}) hash.attributes = attributes hash[:vydejka] = vydejka.map(&:to_h) if has? 'Vydejka' 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/seznam_vydejka.rb |