class Pohoda::Parsers::LStk::ListStockType
Public Instance Methods
stock()
click to toggle source
# File lib/pohoda/parsers/l_stk/list_stock_type.rb, line 7 def stock array_of_at(Stk::StockType, ['lStk:stock']) end
to_h()
click to toggle source
Calls superclass method
# File lib/pohoda/parsers/l_stk/list_stock_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:stock] = stock.map(&:to_h) if has? 'lStk:stock' hash super.merge(hash) end