class Pohoda::Parsers::Vyr::VyrobaDetailType

Public Instance Methods

to_h() click to toggle source
# File lib/pohoda/parsers/vyr/vyroba_detail_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:vyroba_item] = vyroba_item.map(&:to_h) if has? 'vyr:vyrobaItem'

  hash
end
vyroba_item() click to toggle source
# File lib/pohoda/parsers/vyr/vyroba_detail_type.rb, line 7
def vyroba_item
  array_of_at(Vyr::VyrobaItemType, ['vyr:vyrobaItem'])
end