class Pohoda::Parsers::Lst::ListRequestStoresType

Public Instance Methods

stores() click to toggle source
# File lib/pohoda/parsers/lst/list_request_stores_type.rb, line 7
def stores
  array_of_at(Typ::RefType, ['lst:stores', 'lst:store'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/lst/list_request_stores_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:stores] = stores.map(&:to_h) if has? 'lst:stores'

  hash
end