Sha256: 451ddd51ce23dea6cda6eda07b4a2c681776f799876da1a222e143fb31e2a1d4
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/predkontace' module MoneyS3 module Parsers class SeznamPredkontaci include BaseParser def predkontace array_of_at(Predkontace, [:Predkontace]) end def to_h hash = {} hash[:predkontace] = predkontace.map(&:to_h) if raw.key? :Predkontace 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_predkontaci.rb |