class Pohoda::Parsers::Rdc::ImportDetailsType

Public Instance Methods

detail() click to toggle source
# File lib/pohoda/parsers/rdc/import_details_type.rb, line 7
def detail
  array_of_at(Rdc::DetailType, ['rdc:detail'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/rdc/import_details_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:detail] = detail.map(&:to_h) if has? 'rdc:detail'

  hash
end