class Pohoda::Parsers::Stk::PicturesType

Public Instance Methods

picture() click to toggle source
# File lib/pohoda/parsers/stk/pictures_type.rb, line 7
def picture
  array_of_at(Stk::PictureType, ['stk:picture'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/stk/pictures_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
end