Sha256: 2fe9e39ad522f58be84f1589868501d5958389f942cb71ab6fe4648014124919
Contents?: true
Size: 369 Bytes
Versions: 1
Compression:
Stored size: 369 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/cinnost' module MoneyS3 module Parsers class SeznamCinnosti include BaseParser def cinnost array_of_at(Cinnost, [:Cinnost]) end def to_h hash = {} hash[:cinnost] = cinnost.map(&:to_h) if raw.key? :Cinnost hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/parsers/seznam_cinnosti.rb |