class Pohoda::Parsers::Stk::CategoriesType

Public Instance Methods

id_category() click to toggle source
# File lib/pohoda/parsers/stk/categories_type.rb, line 7
def id_category
  array_of_at(String, ['stk:idCategory'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/stk/categories_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id_category] = id_category if has? 'stk:idCategory'

  hash
end