class Pohoda::Parsers::Int::IntDocDetailType

Public Instance Methods

int_doc_item() click to toggle source
# File lib/pohoda/parsers/int/int_doc_detail_type.rb, line 7
def int_doc_item
  array_of_at(Int::IntDocItemType, ['int:intDocItem'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/int/int_doc_detail_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:int_doc_item] = int_doc_item.map(&:to_h) if has? 'int:intDocItem'

  hash
end