class Pohoda::Parsers::Ctg::SubCategoriesType
Public Instance Methods
category()
click to toggle source
# File lib/pohoda/parsers/ctg/sub_categories_type.rb, line 7 def category array_of_at(Ctg::CategoryType, ['ctg:category']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/ctg/sub_categories_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:category] = category.map(&:to_h) if has? 'ctg:category' hash end