Module: Card::Set::Abstract::SearchViews::RssFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod009-search/abstract/search_views.rb

Instance Method Summary collapse

Instance Method Details

#raw_feed_itemsObject



32
33
34
# File 'platypus/tmp/set/gem-defaults/mod009-search/abstract/search_views.rb', line 32

def raw_feed_items
  @raw_feed_items ||= search_with_params
end

#view: feed_bodyObject



24
25
26
27
28
29
30
# File 'platypus/tmp/set/gem-defaults/mod009-search/abstract/search_views.rb', line 24

view :feed_body do
  case raw_feed_items
  when Exception then @xml.item(render!(:search_error))
  when Integer then @xml.item(render!(:search_count))
  else super()
  end
end