Sha256: 562175921f618b1caad39ae7ecf3980415267ec42acc1299fc56f2567119fae4
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/stredisko' module MoneyS3 module Parsers class SeznamStredisek include BaseParser def stredisko array_of_at(Stredisko, [:Stredisko]) end def to_h { stredisko: stredisko.map(&:to_h) }.delete_if { |k, v| v.nil? || v.empty? } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/parsers/seznam_stredisek.rb |