class Pohoda::Parsers::Lst::ListCategoryType

Public Instance Methods

category_detail() click to toggle source
# File lib/pohoda/parsers/lst/list_category_type.rb, line 7
def category_detail
  array_of_at(Ctg::CategoryDetailType, ['lst:categoryDetail'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_category_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
  super.merge(hash)
end