class Pohoda::Parsers::Lst::ListRequestAgendasType

Public Instance Methods

agendas() click to toggle source
# File lib/pohoda/parsers/lst/list_request_agendas_type.rb, line 7
def agendas
  array_of_at(Lst::AgendaType, ['lst:agendas', 'lst:agenda'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/lst/list_request_agendas_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
end