class Pohoda::Parsers::Lst::ListAccountancyType

Public Instance Methods

accountancy() click to toggle source
# File lib/pohoda/parsers/lst/list_accountancy_type.rb, line 7
def accountancy
  array_of_at(Act::AccountancyType, ['lst:accountancy'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_accountancy_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:accountancy] = accountancy.map(&:to_h) if has? 'lst:accountancy'

  hash
  super.merge(hash)
end