class Pohoda::Parsers::Pre::PrevodkaDetailType
Public Instance Methods
prevodka_item()
click to toggle source
# File lib/pohoda/parsers/pre/prevodka_detail_type.rb, line 7 def prevodka_item array_of_at(Pre::PrevodkaItemType, ['pre:prevodkaItem']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/pre/prevodka_detail_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:prevodka_item] = prevodka_item.map(&:to_h) if has? 'pre:prevodkaItem' hash end