class MoneyS3::Parsers::SeznamZamestnancu

Public Instance Methods

to_h() click to toggle source
# File lib/money_s3/parsers/seznam_zamestnancu.rb, line 10
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:zamestnanec] = zamestnanec.map(&:to_h) if has? 'Zamestnanec'

  hash
end
zamestnanec() click to toggle source
# File lib/money_s3/parsers/seznam_zamestnancu.rb, line 6
def zamestnanec
  array_of_at(ZamestnanecType, ['Zamestnanec'])
end