class MoneyS3::Parsers::SeznamCinnosti

Public Instance Methods

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

  hash[:cinnost] = cinnost.map(&:to_h) if has? 'Cinnost'

  hash
end