class MoneyS3::Parsers::SeznamFirem

Public Instance Methods

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

  hash[:firma] = firma.map(&:to_h) if has? 'Firma'

  hash
end