class MoneyS3::Parsers::SeznamMezd

Public Instance Methods

mzda() click to toggle source
# File lib/money_s3/parsers/seznam_mezd.rb, line 6
def mzda
  array_of_at(MzdaType, ['Mzda'])
end
to_h() click to toggle source
# File lib/money_s3/parsers/seznam_mezd.rb, line 10
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:mzda] = mzda.map(&:to_h) if has? 'Mzda'

  hash
end