class Pohoda::Parsers::Stk::RelatedFilesType

Public Instance Methods

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

  hash[:related_file] = related_file.map(&:to_h) if has? 'stk:relatedFile'

  hash
end