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