Sha256: ce0d1ca37d4704ea79521b795a05ee37c7d2452394d15351809c84a0342d8afb
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/zamestnanec_type' module MoneyS3 module Parsers class SeznamZamestnancu include BaseParser def zamestnanec array_of_at(ZamestnanecType, [:Zamestnanec]) end def to_h { zamestnanec: zamestnanec.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_zamestnancu.rb |