class Pohoda::Parsers::LStk::ListRequestStockType

Public Instance Methods

request_stock() click to toggle source
# File lib/pohoda/parsers/l_stk/list_request_stock_type.rb, line 7
def request_stock
  submodel_at(Ftr::RequestStockType, 'lStk:requestStock')
end
to_h() click to toggle source
# File lib/pohoda/parsers/l_stk/list_request_stock_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:request_stock] = request_stock.to_h if has? 'lStk:requestStock'

  hash
end