class Pohoda::Parsers::Lst::ListEnquiryType

Public Instance Methods

enquiry() click to toggle source
# File lib/pohoda/parsers/lst/list_enquiry_type.rb, line 7
def enquiry
  array_of_at(Enq::EnquiryType, ['lst:enquiry'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_enquiry_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
  super.merge(hash)
end