class MoneyS3::Parsers::SeznamStredisek

Public Instance Methods

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

  hash[:stredisko] = stredisko.map(&:to_h) if has? 'Stredisko'

  hash
end