Module: Card::Set::Type::SearchType::RssFormat

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod035-card-mod-search/type/search_type.rb,
card/tmpsets/set/mod036-card-mod-search/type/search_type.rb

Instance Method Summary collapse

Instance Method Details

#raw_feed_itemsObject



53
54
55
# File 'card/tmpsets/set/mod035-card-mod-search/type/search_type.rb', line 53

def raw_feed_items
  @raw_feed_items ||= search_with_params
end

#view: feed_bodyObject



45
46
47
48
49
50
51
# File 'card/tmpsets/set/mod035-card-mod-search/type/search_type.rb', line 45

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