class Pohoda::Parsers::Lst::ListOfferType
Public Instance Methods
offer()
click to toggle source
# File lib/pohoda/parsers/lst/list_offer_type.rb, line 7 def offer array_of_at(Ofr::OfferType, ['lst:offer']) end
to_h()
click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_offer_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:offer] = offer.map(&:to_h) if has? 'lst:offer' hash super.merge(hash) end