Sha256: c97074375d0e6abfbf137b63adf02de050404ecbea6f93c50ebc2a86939ee129
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/uc_osnova_type' module MoneyS3 module Parsers class SeznamUcOsnov include BaseParser def uc_osnova array_of_at(UcOsnovaType, ['UcOsnova']) end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:uc_osnova] = uc_osnova.map(&:to_h) if has? 'UcOsnova' 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_uc_osnov.rb |