class Pohoda::Parsers::Stk::StockAttachType
Public Instance Methods
attach_item()
click to toggle source
# File lib/pohoda/parsers/stk/stock_attach_type.rb, line 7 def attach_item array_of_at(Stk::AttachItemType, ['stk:attachItem']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/stk/stock_attach_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:attach_item] = attach_item.map(&:to_h) if has? 'stk:attachItem' hash end