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